#AF85E5#AF85E5
#AF85E5 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.143 H 303.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF85E5 |
|---|---|
| RGB | rgb(175, 133, 229) |
| HSL | hsl(266, 65%, 71%) |
| HSV | hsv(266, 42%, 90%) |
| CMYK | cmyk(23.6%, 41.9%, 0%, 10.2%) |
| CIE-LAB | lab(62.97, 34.97, -42.87) |
| CIE-LCH | lch(62.97, 55.32, 309.20°) |
| OKLab | oklab(69.49% 0.0778 -0.1195) |
| OKLCH | oklch(69.49% 0.143 303) |
| XYZ | xyz(40.2065, 31.5462, 78.0844) |
| Luminance | 0.3155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.80
Light Purple
#BF77F6
ΔE00 5.20
Pale Purple
#B790D4
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 6.38
Wisteria
#A87DC2
ΔE00 6.54
Easter Purple
#C071FE
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF85E5 #BBE585
analogous
#858BE5 #AF85E5 #DF85E5
triadic
#AF85E5 #E5AF85 #85E5AF
tetradic
#AF85E5 #E5858B #BBE585 #85E5DF
square
#AF85E5 #E5858B #BBE585 #85E5DF
split-complementary
#AF85E5 #E5DF85 #8BE585
monochromatic
#6E2AC6 #8E53DA #AF85E5 #D0B7F0 #EEE6FA
Accessibility & contrast
On white
2.87
#AF85E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#AF85E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF85E5
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF85E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF85E5 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D97E9
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#A695AA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af85e5; /* rgb */ color: rgb(175, 133, 229); /* oklch */ color: oklch(69.5% 0.143 303.0);
Tailwind
colors: {
custom: {
50: '#c9a9ed',
500: '#af85e5',
950: '#000000',
},
}SCSS
$custom: #af85e5; $custom-light: #c9a9ed; $custom-dark: #000000;
JSON
{
"hex": "#af85e5",
"rgb": {
"r": 175,
"g": 133,
"b": 229
},
"hsl": {
"h": 266.25,
"s": 64.865,
"l": 70.98
},
"oklch": {
"l": 0.69485,
"c": 0.14263,
"h": 303
},
"luminance": 0.31546
}Semantic roles & 50–950 ramp
primary
#AF85E5
secondary
#E4F0D6
accent
#CD197E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84