#CFA8CA#CFA8CA
#CFA8CA is a light, moderate purple. Relative luminance 0.455; OKLCH L 77.7% C 0.064 H 330.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA8CA |
|---|---|
| RGB | rgb(207, 168, 202) |
| HSL | hsl(308, 29%, 74%) |
| HSV | hsv(308, 19%, 81%) |
| CMYK | cmyk(0%, 18.8%, 2.4%, 18.8%) |
| CIE-LAB | lab(73.24, 20.02, -11.90) |
| CIE-LCH | lch(73.24, 23.29, 329.26°) |
| OKLab | oklab(77.71% 0.0561 -0.0318) |
| OKLCH | oklch(77.71% 0.064 330.5) |
| XYZ | xyz(50.3943, 45.5361, 62.0003) |
| Luminance | 0.4553 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 2.10
Thistle
#D8BFD8
ΔE00 6.65
Plum
#DDA0DD
ΔE00 6.80
Dusty Pink
#D8A7B1
ΔE00 8.68
Light Mauve
#C292A1
ΔE00 9.27
Faded Pink
#DE9DAC
ΔE00 9.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA8CA #A8CFAD
analogous
#C0A8CF #CFA8CA #CFA8B6
triadic
#CFA8CA #CACFA8 #A8CACF
tetradic
#CFA8CA #CFC0A8 #A8CFAD #A8B6CF
square
#CFA8CA #CFC0A8 #A8CFAD #A8B6CF
split-complementary
#CFA8CA #B6CFA8 #A8CFC0
monochromatic
#A35A99 #B981B2 #CFA8CA #E5CFE2 #F4EBF3
Accessibility & contrast
On white
2.08
#CFA8CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CFA8CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA8CA
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA8CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA8CA | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7B1CB
Deuteranopia (green-blind)
#B0B6C9
Tritanopia (blue-blind)
#D2AAB3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfa8ca; /* rgb */ color: rgb(207, 168, 202); /* oklch */ color: oklch(77.7% 0.064 330.5);
Tailwind
colors: {
custom: {
50: '#dec2da',
500: '#cfa8ca',
950: '#000000',
},
}SCSS
$custom: #cfa8ca; $custom-light: #dec2da; $custom-dark: #000000;
JSON
{
"hex": "#cfa8ca",
"rgb": {
"r": 207,
"g": 168,
"b": 202
},
"hsl": {
"h": 307.692,
"s": 28.889,
"l": 73.529
},
"oklch": {
"l": 0.77706,
"c": 0.06445,
"h": 330.5
},
"luminance": 0.45535
}Semantic roles & 50–950 ramp
primary
#CFA8CA
secondary
#E0EBE2
accent
#A84B3E
background
#FDFBFD
surface
#FBF7FA
border
#D4D0D3
text
#151214
muted
#838183