#CFA6F1#CFA6F1
#CFA6F1 is a light, moderate violet. Relative luminance 0.469; OKLCH L 78.8% C 0.112 H 308.9°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA6F1 |
|---|---|
| RGB | rgb(207, 166, 241) |
| HSL | hsl(273, 73%, 80%) |
| HSV | hsv(273, 31%, 95%) |
| CMYK | cmyk(14.1%, 31.1%, 0%, 5.5%) |
| CIE-LAB | lab(74.12, 28.82, -31.86) |
| CIE-LCH | lch(74.12, 42.97, 312.14°) |
| OKLab | oklab(78.82% 0.0707 -0.0875) |
| OKLCH | oklch(78.82% 0.112 308.9) |
| XYZ | xyz(55.2426, 46.8892, 89.3423) |
| Luminance | 0.4689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.21
Pale Violet
#CEAEFA
ΔE00 2.65
Lilac (survey)
#CEA2FD
ΔE00 3.02
Mauve
#E0B0FF
ΔE00 3.40
Light Violet
#D6B4FC
ΔE00 3.46
Baby Purple
#CA9BF7
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA6F1 #C8F1A6
analogous
#AAA6F1 #CFA6F1 #F1A6EE
triadic
#CFA6F1 #F1CFA6 #A6F1CF
tetradic
#CFA6F1 #F1AAA6 #C8F1A6 #A6EEF1
square
#CFA6F1 #F1AAA6 #C8F1A6 #A6EEF1
split-complementary
#CFA6F1 #EEF1A6 #A6F1AA
monochromatic
#963CE0 #B271E9 #CFA6F1 #ECDBF9 #F1E5FB
Accessibility & contrast
On white
2.02
#CFA6F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#CFA6F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA6F1
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA6F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA6F1 | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98B4F4
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#CBB0C1
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfa6f1; /* rgb */ color: rgb(207, 166, 241); /* oklch */ color: oklch(78.8% 0.112 308.9);
Tailwind
colors: {
custom: {
50: '#dec0f6',
500: '#cfa6f1',
950: '#000000',
},
}SCSS
$custom: #cfa6f1; $custom-light: #dec0f6; $custom-dark: #000000;
JSON
{
"hex": "#cfa6f1",
"rgb": {
"r": 207,
"g": 166,
"b": 241
},
"hsl": {
"h": 272.8,
"s": 72.816,
"l": 79.804
},
"oklch": {
"l": 0.78824,
"c": 0.11248,
"h": 308.9
},
"luminance": 0.46889
}Semantic roles & 50–950 ramp
primary
#CFA6F1
secondary
#E4F2D9
accent
#D5116A
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185