#CFA7FA#CFA7FA
#CFA7FA is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.4% C 0.122 H 305.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA7FA |
|---|---|
| RGB | rgb(207, 167, 250) |
| HSL | hsl(269, 89%, 82%) |
| HSV | hsv(269, 33%, 98%) |
| CMYK | cmyk(17.2%, 33.2%, 0%, 2%) |
| CIE-LAB | lab(74.70, 30.20, -35.83) |
| CIE-LCH | lch(74.70, 46.86, 310.13°) |
| OKLab | oklab(79.38% 0.0715 -0.0988) |
| OKLCH | oklch(79.38% 0.122 305.9) |
| XYZ | xyz(56.8028, 47.8053, 96.6588) |
| Luminance | 0.4780 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 1.64
Pale Violet
#CEAEFA
ΔE00 2.07
Lavender (survey)
#C79FEF
ΔE00 2.32
Pastel Purple
#CAA0FF
ΔE00 2.59
Baby Purple
#CA9BF7
ΔE00 3.06
Light Violet
#D6B4FC
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA7FA #D2FAA7
analogous
#A7A9FA #CFA7FA #F9A7FA
triadic
#CFA7FA #FACFA7 #A7FACF
tetradic
#CFA7FA #FAA7A9 #D2FAA7 #A7FAF9
square
#CFA7FA #FAA7A9 #D2FAA7 #A7FAF9
split-complementary
#CFA7FA #FAF9A7 #A9FAA7
monochromatic
#9033F3 #AF6DF7 #CFA7FA #EFE1FD #EFE2FD
Accessibility & contrast
On white
1.99
#CFA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#CFA7FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA7FA
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA7FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA7FA | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#C9B3C5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfa7fa; /* rgb */ color: rgb(207, 167, 250); /* oklch */ color: oklch(79.4% 0.122 305.9);
Tailwind
colors: {
custom: {
50: '#dec1fc',
500: '#cfa7fa',
950: '#000000',
},
}SCSS
$custom: #cfa7fa; $custom-light: #dec1fc; $custom-dark: #000000;
JSON
{
"hex": "#cfa7fa",
"rgb": {
"r": 207,
"g": 167,
"b": 250
},
"hsl": {
"h": 268.916,
"s": 89.247,
"l": 81.765
},
"oklch": {
"l": 0.79384,
"c": 0.12197,
"h": 305.9
},
"luminance": 0.47805
}Semantic roles & 50–950 ramp
primary
#CFA7FA
secondary
#E6F5D6
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185