#CFA6FA#CFA6FA
#CFA6FA is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.2% C 0.124 H 306.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA6FA |
|---|---|
| RGB | rgb(207, 166, 250) |
| HSL | hsl(269, 89%, 82%) |
| HSV | hsv(269, 34%, 98%) |
| CMYK | cmyk(17.2%, 33.6%, 0%, 2%) |
| CIE-LAB | lab(74.47, 30.75, -36.19) |
| CIE-LCH | lch(74.47, 47.49, 310.35°) |
| OKLab | oklab(79.21% 0.0729 -0.0998) |
| OKLCH | oklch(79.21% 0.124 306.1) |
| XYZ | xyz(56.6203, 47.4403, 96.5980) |
| Luminance | 0.4744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.39
Lavender (survey)
#C79FEF
ΔE00 2.19
Pale Violet
#CEAEFA
ΔE00 2.35
Pastel Purple
#CAA0FF
ΔE00 2.39
Baby Purple
#CA9BF7
ΔE00 2.80
Mauve
#E0B0FF
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA6FA #D1FAA6
analogous
#A6A7FA #CFA6FA #F9A6FA
triadic
#CFA6FA #FACFA6 #A6FACF
tetradic
#CFA6FA #FAA6A7 #D1FAA6 #A6FAF9
square
#CFA6FA #FAA6A7 #D1FAA6 #A6FAF9
split-complementary
#CFA6FA #FAF9A6 #A7FAA6
monochromatic
#9032F3 #B06CF7 #CFA6FA #EEE0FD #EFE2FD
Accessibility & contrast
On white
2.00
#CFA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#CFA6FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA6FA
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA6FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA6FA | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#9DB8F8
Tritanopia (blue-blind)
#C9B2C5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cfa6fa; /* rgb */ color: rgb(207, 166, 250); /* oklch */ color: oklch(79.2% 0.124 306.1);
Tailwind
colors: {
custom: {
50: '#dec0fc',
500: '#cfa6fa',
950: '#000000',
},
}SCSS
$custom: #cfa6fa; $custom-light: #dec0fc; $custom-dark: #000000;
JSON
{
"hex": "#cfa6fa",
"rgb": {
"r": 207,
"g": 166,
"b": 250
},
"hsl": {
"h": 269.286,
"s": 89.362,
"l": 81.569
},
"oklch": {
"l": 0.79208,
"c": 0.12362,
"h": 306.1
},
"luminance": 0.4744
}Semantic roles & 50–950 ramp
primary
#CFA6FA
secondary
#E6F5D6
accent
#E60075
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185