#AF6FE9#AF6FE9
#AF6FE9 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.182 H 306.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6FE9 |
|---|---|
| RGB | rgb(175, 111, 233) |
| HSL | hsl(271, 73%, 67%) |
| HSV | hsv(271, 52%, 91%) |
| CMYK | cmyk(24.9%, 52.4%, 0%, 8.6%) |
| CIE-LAB | lab(58.38, 47.95, -52.34) |
| CIE-LCH | lch(58.38, 70.98, 312.49°) |
| OKLab | oklab(66.13% 0.1079 -0.147) |
| OKLCH | oklch(66.13% 0.182 306.3) |
| XYZ | xyz(38.0686, 26.3664, 80.1587) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.91
Light Purple
#BF77F6
ΔE00 3.68
Easter Purple
#C071FE
ΔE00 3.79
Bright Lavender
#C760FF
ΔE00 5.04
Bright Lilac
#C95EFB
ΔE00 5.26
Mediumpurple
#9370DB
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6FE9 #A9E96F
analogous
#726FE9 #AF6FE9 #E96FE6
triadic
#AF6FE9 #E9AF6F #6FE9AF
tetradic
#AF6FE9 #E9726F #A9E96F #6FE6E9
square
#AF6FE9 #E9726F #A9E96F #6FE6E9
split-complementary
#AF6FE9 #E6E96F #6FE972
monochromatic
#731DC0 #923AE1 #AF6FE9 #CCA4F1 #EAD9F9
Accessibility & contrast
On white
3.35
#AF6FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#AF6FE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6FE9
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6FE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6FE9 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488AED
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#A685A2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #af6fe9; /* rgb */ color: rgb(175, 111, 233); /* oklch */ color: oklch(66.1% 0.182 306.3);
Tailwind
colors: {
custom: {
50: '#ca9af0',
500: '#af6fe9',
950: '#000000',
},
}SCSS
$custom: #af6fe9; $custom-light: #ca9af0; $custom-dark: #000000;
JSON
{
"hex": "#af6fe9",
"rgb": {
"r": 175,
"g": 111,
"b": 233
},
"hsl": {
"h": 271.475,
"s": 73.494,
"l": 67.451
},
"oklch": {
"l": 0.66128,
"c": 0.1824,
"h": 306.3
},
"luminance": 0.26366
}Semantic roles & 50–950 ramp
primary
#AF6FE9
secondary
#D9EDC7
accent
#D6106E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85