#CFA1F9#CFA1F9
#CFA1F9 is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.3% C 0.131 H 307.6°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA1F9 |
|---|---|
| RGB | rgb(207, 161, 249) |
| HSL | hsl(271, 88%, 80%) |
| HSV | hsv(271, 35%, 98%) |
| CMYK | cmyk(16.9%, 35.3%, 0%, 2.4%) |
| CIE-LAB | lab(73.28, 33.26, -37.50) |
| CIE-LCH | lch(73.28, 50.12, 311.58°) |
| OKLab | oklab(78.29% 0.0797 -0.1035) |
| OKLCH | oklch(78.29% 0.131 307.6) |
| XYZ | xyz(55.5726, 45.5952, 95.4773) |
| Luminance | 0.4560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.88
Baby Purple
#CA9BF7
ΔE00 1.63
Lavender (survey)
#C79FEF
ΔE00 1.87
Pastel Purple
#CAA0FF
ΔE00 1.91
Pale Violet
#CEAEFA
ΔE00 3.67
Mauve
#E0B0FF
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA1F9 #CBF9A1
analogous
#A3A1F9 #CFA1F9 #F9A1F7
triadic
#CFA1F9 #F9CFA1 #A1F9CF
tetradic
#CFA1F9 #F9A3A1 #CBF9A1 #A1F7F9
square
#CFA1F9 #F9A3A1 #CBF9A1 #A1F7F9
split-complementary
#CFA1F9 #F7F9A1 #A1F9A3
monochromatic
#942EF2 #B267F5 #CFA1F9 #ECDBFD #F0E2FD
Accessibility & contrast
On white
2.08
#CFA1F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#CFA1F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA1F9
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA1F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA1F9 | 1.00 | 2.08 | 10.12 | 10.12 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB2FC
Deuteranopia (green-blind)
#99B5F6
Tritanopia (blue-blind)
#C9AEC2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfa1f9; /* rgb */ color: rgb(207, 161, 249); /* oklch */ color: oklch(78.3% 0.131 307.6);
Tailwind
colors: {
custom: {
50: '#dfbdfb',
500: '#cfa1f9',
950: '#000000',
},
}SCSS
$custom: #cfa1f9; $custom-light: #dfbdfb; $custom-dark: #000000;
JSON
{
"hex": "#cfa1f9",
"rgb": {
"r": 207,
"g": 161,
"b": 249
},
"hsl": {
"h": 271.364,
"s": 88,
"l": 80.392
},
"oklch": {
"l": 0.7829,
"c": 0.13067,
"h": 307.6
},
"luminance": 0.45595
}Semantic roles & 50–950 ramp
primary
#CFA1F9
secondary
#E5F5D6
accent
#E5016E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185