#CFA6EB#CFA6EB
#CFA6EB is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.6% C 0.105 H 311.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA6EB |
|---|---|
| RGB | rgb(207, 166, 235) |
| HSL | hsl(276, 63%, 79%) |
| HSV | hsv(276, 29%, 92%) |
| CMYK | cmyk(11.9%, 29.4%, 0%, 7.8%) |
| CIE-LAB | lab(73.89, 27.57, -28.95) |
| CIE-LCH | lch(73.89, 39.98, 313.60°) |
| OKLab | oklab(78.58% 0.0691 -0.0792) |
| OKLCH | oklch(78.58% 0.105 311.1) |
| XYZ | xyz(54.3612, 46.5366, 84.6999) |
| Luminance | 0.4654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 3.04
Pale Violet
#CEAEFA
ΔE00 3.50
Mauve
#E0B0FF
ΔE00 3.80
Light Violet
#D6B4FC
ΔE00 3.83
Lilac (survey)
#CEA2FD
ΔE00 4.30
Baby Purple
#CA9BF7
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA6EB #C2EBA6
analogous
#ACA6EB #CFA6EB #EBA6E4
triadic
#CFA6EB #EBCFA6 #A6EBCF
tetradic
#CFA6EB #EBACA6 #C2EBA6 #A6E4EB
square
#CFA6EB #EBACA6 #C2EBA6 #A6E4EB
split-complementary
#CFA6EB #E4EBA6 #A6EBAC
monochromatic
#9942D5 #B474E0 #CFA6EB #EAD8F6 #F2E6F9
Accessibility & contrast
On white
2.04
#CFA6EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#CFA6EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA6EB
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA6EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA6EB | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#CCAFBF
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfa6eb; /* rgb */ color: rgb(207, 166, 235); /* oklch */ color: oklch(78.6% 0.105 311.1);
Tailwind
colors: {
custom: {
50: '#dec0f1',
500: '#cfa6eb',
950: '#000000',
},
}SCSS
$custom: #cfa6eb; $custom-light: #dec0f1; $custom-dark: #000000;
JSON
{
"hex": "#cfa6eb",
"rgb": {
"r": 207,
"g": 166,
"b": 235
},
"hsl": {
"h": 275.652,
"s": 63.303,
"l": 78.627
},
"oklch": {
"l": 0.78576,
"c": 0.10514,
"h": 311.1
},
"luminance": 0.46536
}Semantic roles & 50–950 ramp
primary
#CFA6EB
secondary
#E3F1DA
accent
#CB1A62
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184