#CFA4FE#CFA4FE
#CFA4FE is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.0% C 0.132 H 305.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA4FE |
|---|---|
| RGB | rgb(207, 164, 254) |
| HSL | hsl(269, 98%, 82%) |
| HSV | hsv(269, 35%, 100%) |
| CMYK | cmyk(18.5%, 35.4%, 0%, 0.4%) |
| CIE-LAB | lab(74.17, 32.71, -38.82) |
| CIE-LCH | lch(74.17, 50.76, 310.12°) |
| OKLab | oklab(79.03% 0.0766 -0.1073) |
| OKLCH | oklch(79.03% 0.132 305.5) |
| XYZ | xyz(56.8934, 46.9724, 99.8161) |
| Luminance | 0.4697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.49
Pastel Purple
#CAA0FF
ΔE00 1.47
Baby Purple
#CA9BF7
ΔE00 2.25
Lavender (survey)
#C79FEF
ΔE00 2.52
Pale Violet
#CEAEFA
ΔE00 3.16
Mauve
#E0B0FF
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA4FE #D3FEA4
analogous
#A4A6FE #CFA4FE #FCA4FE
triadic
#CFA4FE #FECFA4 #A4FECF
tetradic
#CFA4FE #FEA4A6 #D3FEA4 #A4FEFC
square
#CFA4FE #FEA4A6 #D3FEA4 #A4FEFC
split-complementary
#CFA4FE #FEFCA4 #A6FEA4
monochromatic
#8F2BFD #AF67FD #CFA4FE #EFE1FF #EFE1FF
Accessibility & contrast
On white
2.02
#CFA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#CFA4FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA4FE
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA4FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA4FE | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#9AB7FB
Tritanopia (blue-blind)
#C8B2C5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfa4fe; /* rgb */ color: rgb(207, 164, 254); /* oklch */ color: oklch(79.0% 0.132 305.5);
Tailwind
colors: {
custom: {
50: '#dfbfff',
500: '#cfa4fe',
950: '#000000',
},
}SCSS
$custom: #cfa4fe; $custom-light: #dfbfff; $custom-dark: #000000;
JSON
{
"hex": "#cfa4fe",
"rgb": {
"r": 207,
"g": 164,
"b": 254
},
"hsl": {
"h": 268.667,
"s": 97.826,
"l": 81.961
},
"oklch": {
"l": 0.79034,
"c": 0.13189,
"h": 305.5
},
"luminance": 0.46972
}Semantic roles & 50–950 ramp
primary
#CFA4FE
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186