#AF86EF#AF86EF
#AF86EF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.154 H 300.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF86EF |
|---|---|
| RGB | rgb(175, 134, 239) |
| HSL | hsl(263, 77%, 73%) |
| HSV | hsv(263, 44%, 94%) |
| CMYK | cmyk(26.8%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(63.67, 36.77, -47.30) |
| CIE-LCH | lch(63.67, 59.91, 307.87°) |
| OKLab | oklab(70.17% 0.078 -0.1324) |
| OKLCH | oklch(70.17% 0.154 300.5) |
| XYZ | xyz(41.7807, 32.3960, 85.6965) |
| Luminance | 0.3240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.18
Light Purple
#BF77F6
ΔE00 4.96
Light Urple
#B36FF6
ΔE00 5.99
Easter Purple
#C071FE
ΔE00 6.21
Baby Purple
#CA9BF7
ΔE00 6.92
Pale Purple
#B790D4
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF86EF #C6EF86
analogous
#8691EF #AF86EF #E486EF
triadic
#AF86EF #EFAF86 #86EFAF
tetradic
#AF86EF #EF8691 #C6EF86 #86EFE4
square
#AF86EF #EF8691 #C6EF86 #86EFE4
split-complementary
#AF86EF #EFE486 #91EF86
monochromatic
#681DDD #8B50E8 #AF86EF #D3BCF6 #EDE4FB
Accessibility & contrast
On white
2.81
#AF86EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#AF86EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF86EF
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF86EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF86EF | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#719AEC
Tritanopia (blue-blind)
#A398AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #af86ef; /* rgb */ color: rgb(175, 134, 239); /* oklch */ color: oklch(70.2% 0.154 300.5);
Tailwind
colors: {
custom: {
50: '#c9aaf4',
500: '#af86ef',
950: '#000000',
},
}SCSS
$custom: #af86ef; $custom-light: #c9aaf4; $custom-dark: #000000;
JSON
{
"hex": "#af86ef",
"rgb": {
"r": 175,
"g": 134,
"b": 239
},
"hsl": {
"h": 263.429,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.70169,
"c": 0.15368,
"h": 300.5
},
"luminance": 0.32396
}Semantic roles & 50–950 ramp
primary
#AF86EF
secondary
#E8F3D8
accent
#D90D89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85