#CFA2F9#CFA2F9
#CFA2F9 is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.129 H 307.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2F9 |
|---|---|
| RGB | rgb(207, 162, 249) |
| HSL | hsl(271, 88%, 81%) |
| HSV | hsv(271, 35%, 98%) |
| CMYK | cmyk(16.9%, 34.9%, 0%, 2.4%) |
| CIE-LAB | lab(73.51, 32.72, -37.14) |
| CIE-LCH | lch(73.51, 49.49, 311.38°) |
| OKLab | oklab(78.46% 0.0783 -0.1025) |
| OKLCH | oklch(78.46% 0.129 307.4) |
| XYZ | xyz(55.7481, 45.9461, 95.5358) |
| Luminance | 0.4595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.89
Lavender (survey)
#C79FEF
ΔE00 1.84
Baby Purple
#CA9BF7
ΔE00 1.86
Pastel Purple
#CAA0FF
ΔE00 1.98
Pale Violet
#CEAEFA
ΔE00 3.40
Mauve
#E0B0FF
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2F9 #CCF9A2
analogous
#A3A2F9 #CFA2F9 #F9A2F8
triadic
#CFA2F9 #F9CFA2 #A2F9CF
tetradic
#CFA2F9 #F9A3A2 #CCF9A2 #A2F8F9
square
#CFA2F9 #F9A3A2 #CCF9A2 #A2F8F9
split-complementary
#CFA2F9 #F8F9A2 #A2F9A3
monochromatic
#942FF2 #B169F5 #CFA2F9 #EDDBFD #F0E2FD
Accessibility & contrast
On white
2.06
#CFA2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#CFA2F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2F9
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2F9 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91B3FC
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#C9AFC2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfa2f9; /* rgb */ color: rgb(207, 162, 249); /* oklch */ color: oklch(78.5% 0.129 307.4);
Tailwind
colors: {
custom: {
50: '#dfbefb',
500: '#cfa2f9',
950: '#000000',
},
}SCSS
$custom: #cfa2f9; $custom-light: #dfbefb; $custom-dark: #000000;
JSON
{
"hex": "#cfa2f9",
"rgb": {
"r": 207,
"g": 162,
"b": 249
},
"hsl": {
"h": 271.034,
"s": 87.879,
"l": 80.588
},
"oklch": {
"l": 0.78464,
"c": 0.12901,
"h": 307.4
},
"luminance": 0.45946
}Semantic roles & 50–950 ramp
primary
#CFA2F9
secondary
#E5F5D6
accent
#E4016F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185