Photo in the color Violet (RYB)
Pictured: Violet (RYB)
rgb(134, 1, 175)
#8601AF

Violet (RYB) #8601AF RGB Color Code

Violet (RYB) (#8601AF) is a vivid, medium purple. In RGB it is made of 53% red, 0% green and 69% blue (R 134, G 1, B 175). The blue channel is the strongest. In HSL it has a hue of 286°, 99% saturation and 35% lightness. Its relative luminance is 0.082, so white text is easier to read on top of it. For print, a rough CMYK match is 23% cyan, 99% magenta, 0% yellow and 31% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Violet (RYB) color codes

#8601AF in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #8601AF Valid CSS
RGB rgb(134, 1, 175) Valid CSS
HSL hsl(286, 99%, 35%) Valid CSS
HSV / HSB hsv(286, 99%, 69%) Not a CSS format
HWB hwb(286 0% 31%) Valid CSS
CMYK cmyk(23%, 99%, 0%, 31%) Approximate (no ICC profile)
OKLCH oklch(46.56% 0.2295 314.44) Valid CSS
OKLab oklab(46.56% 0.1607 -0.1638) Valid CSS
CIELAB lab(33.83% 63.05 -58.33) D50, as in CSS
CIELCH lch(33.83% 85.89 317.23) Valid CSS
Display P3 color(display-p3 0.4802 0.0876 0.661) Valid CSS
XYZ (D65) color(xyz-d65 0.1758 0.0819 0.4121) Valid CSS
Decimal 8782255 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0819. Nearest web-safe color: #990099.

Mix Violet (RYB) with other colors

See what #8601AF makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Violet (RYB) in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--violet-ryb: #8601AF;
Sass variable$violet-ryb: #8601AF;
Tailwind CSS v4@theme { --color-violet-ryb: #8601AF; }
Tailwind CSS v3 configcolors: { 'violet-ryb': '#8601AF' }
SwiftUIColor(red: 0.525, green: 0.004, blue: 0.686)
UIKitUIColor(red: 0.525, green: 0.004, blue: 0.686, alpha: 1)
Android XML<color name="violet_ryb">#FF8601AF</color>
Flutter and Jetpack ComposeColor(0xFF8601AF)

Accessibility and contrast

White text works best on #8601AF (7.96:1, AAA). Here is how #8601AF does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
7.96:1 on white
APCA Lc 85
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
2.64:1 on black
APCA Lc -17
Fails AATry #AD40D8

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Violet (RYB)

#8601AF next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#8601AF stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Violet (RYB)

The purple slot on the painter's wheel

On the old red, yellow and blue color wheel, violet sits halfway between red and blue, the color you get when you mix those two paints. The code #8601AF comes from the RYB wheel on W3Schools' color wheel page. There it is simply labeled purple. Wikipedia's list of colors calls the same code violet (RYB).

On that wheel it has a blue-purple neighbor, #4424D6, on one side and a red-purple, #C21460, on the other. Straight across the wheel is yellow, its complement.

Darker than screen violet

Compared with the bright violet of screens, #8F00FF, this paint version is darker and slightly redder. White text on it has a strong contrast of 7.96 to 1. To try out pairs from this wheel, see our color harmony guide or its primaries red (RYB) and blue (RYB).

Violet (RYB) in a user interface

A sample app screen with #8601AF as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #8601AF as it is. On the dark theme, #8601AF is too hard to read as text (2.23:1), so links, the badge and outline text use #BA4EE6 there (4.50:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Violet (RYB)

These schemes turn the hue of #8601AF around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Violet (RYB)

Four CSS gradients made from #8601AF. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #E7D3F1, #8601AF);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #8601AF, #21002E);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #2F01AF, #8601AF, #AF0181);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #8601AF, #985D7B, #AF8601);

Edit in the gradient generator

Shades, tints and tones of Violet (RYB)

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Violet (RYB) sits at step 700. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FBF4FF
  2. 100
    F6E6FF
  3. 200
    EECCFF
  4. 300
    E2A5FF
  5. 400
    D470FF
  6. 500
    B74BE3
  7. 600
    992CC3
  8. 700
    8601AF
  9. 800
    640583
  10. 900
    4A0761
  11. 950
    2B0C38

Closest RAL, Tailwind and CSS colors

The nearest match to #8601AF in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of purple or search the color library.