#AF85EF#AF85EF
#AF85EF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.155 H 300.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF85EF |
|---|---|
| RGB | rgb(175, 133, 239) |
| HSL | hsl(264, 77%, 73%) |
| HSV | hsv(264, 44%, 94%) |
| CMYK | cmyk(26.8%, 44.4%, 0%, 6.3%) |
| CIE-LAB | lab(63.44, 37.33, -47.65) |
| CIE-LCH | lch(63.44, 60.53, 308.07°) |
| OKLab | oklab(70% 0.0794 -0.1334) |
| OKLCH | oklch(70% 0.155 300.7) |
| XYZ | xyz(41.6432, 32.1209, 85.6507) |
| Luminance | 0.3212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.27
Light Purple
#BF77F6
ΔE00 4.73
Light Urple
#B36FF6
ΔE00 5.72
Easter Purple
#C071FE
ΔE00 5.98
Baby Purple
#CA9BF7
ΔE00 7.11
Pale Purple
#B790D4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF85EF #C5EF85
analogous
#8590EF #AF85EF #E485EF
triadic
#AF85EF #EFAF85 #85EFAF
tetradic
#AF85EF #EF8590 #C5EF85 #85EFE4
square
#AF85EF #EF8590 #C5EF85 #85EFE4
split-complementary
#AF85EF #EFE485 #90EF85
monochromatic
#691DDD #8C4FE8 #AF85EF #D2BBF6 #EDE4FB
Accessibility & contrast
On white
2.83
#AF85EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#AF85EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF85EF
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF85EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF85EF | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#A398AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af85ef; /* rgb */ color: rgb(175, 133, 239); /* oklch */ color: oklch(70.0% 0.155 300.7);
Tailwind
colors: {
custom: {
50: '#c9a9f5',
500: '#af85ef',
950: '#000000',
},
}SCSS
$custom: #af85ef; $custom-light: #c9a9f5; $custom-dark: #000000;
JSON
{
"hex": "#af85ef",
"rgb": {
"r": 175,
"g": 133,
"b": 239
},
"hsl": {
"h": 263.774,
"s": 76.812,
"l": 72.941
},
"oklch": {
"l": 0.69999,
"c": 0.15525,
"h": 300.7
},
"luminance": 0.32121
}Semantic roles & 50–950 ramp
primary
#AF85EF
secondary
#E8F3D8
accent
#D90C88
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85