#AF6CF9#AF6CF9
#AF6CF9 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.6% C 0.205 H 303.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6CF9 |
|---|---|
| RGB | rgb(175, 108, 249) |
| HSL | hsl(269, 92%, 70%) |
| HSV | hsv(269, 57%, 98%) |
| CMYK | cmyk(29.7%, 56.6%, 0%, 2.4%) |
| CIE-LAB | lab(58.68, 53.24, -60.76) |
| CIE-LCH | lch(58.68, 80.79, 311.23°) |
| OKLab | oklab(66.63% 0.1123 -0.1717) |
| OKLCH | oklch(66.63% 0.205 303.2) |
| XYZ | xyz(40.1368, 26.6787, 92.6392) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.21
Easter Purple
#C071FE
ΔE00 3.29
Light Purple
#BF77F6
ΔE00 4.18
Bright Lavender
#C760FF
ΔE00 4.33
Lighter Purple
#A55AF4
ΔE00 4.75
Bright Lilac
#C95EFB
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6CF9 #B6F96C
analogous
#6C6FF9 #AF6CF9 #F66CF9
triadic
#AF6CF9 #F9AF6C #6CF9AF
tetradic
#AF6CF9 #F96C6F #B6F96C #6CF9F6
square
#AF6CF9 #F96C6F #B6F96C #6CF9F6
split-complementary
#AF6CF9 #F9F66C #6FF96C
monochromatic
#7009E1 #8F31F7 #AF6CF9 #CFA7FB #EFE2FE
Accessibility & contrast
On white
3.31
#AF6CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#AF6CF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6CF9
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6CF9 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#308CFE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#A188A8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #af6cf9; /* rgb */ color: rgb(175, 108, 249); /* oklch */ color: oklch(66.6% 0.205 303.2);
Tailwind
colors: {
custom: {
50: '#cb99fc',
500: '#af6cf9',
950: '#000000',
},
}SCSS
$custom: #af6cf9; $custom-light: #cb99fc; $custom-dark: #000000;
JSON
{
"hex": "#af6cf9",
"rgb": {
"r": 175,
"g": 108,
"b": 249
},
"hsl": {
"h": 268.511,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.66632,
"c": 0.20516,
"h": 303.2
},
"luminance": 0.26679
}Semantic roles & 50–950 ramp
primary
#AF6CF9
secondary
#E1F4CD
accent
#E60078
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85