#CFA2F2#CFA2F2
#CFA2F2 is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.2% C 0.120 H 309.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA2F2 |
|---|---|
| RGB | rgb(207, 162, 242) |
| HSL | hsl(274, 75%, 79%) |
| HSV | hsv(274, 33%, 95%) |
| CMYK | cmyk(14.5%, 33.1%, 0%, 5.1%) |
| CIE-LAB | lab(73.23, 31.22, -33.78) |
| CIE-LCH | lch(73.23, 45.99, 312.75°) |
| OKLab | oklab(78.16% 0.0767 -0.0929) |
| OKLCH | oklch(78.16% 0.12 309.5) |
| XYZ | xyz(54.6766, 45.5175, 89.8925) |
| Luminance | 0.4552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.58
Lilac (survey)
#CEA2FD
ΔE00 2.30
Baby Purple
#CA9BF7
ΔE00 2.66
Pastel Purple
#CAA0FF
ΔE00 3.30
Pale Violet
#CEAEFA
ΔE00 3.45
Mauve
#E0B0FF
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA2F2 #C5F2A2
analogous
#A7A2F2 #CFA2F2 #F2A2ED
triadic
#CFA2F2 #F2CFA2 #A2F2CF
tetradic
#CFA2F2 #F2A7A2 #C5F2A2 #A2EDF2
square
#CFA2F2 #F2A7A2 #C5F2A2 #A2EDF2
split-complementary
#CFA2F2 #EDF2A2 #A2F2A7
monochromatic
#9837E3 #B36CEA #CFA2F2 #EBD8FA #F1E4FB
Accessibility & contrast
On white
2.08
#CFA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#CFA2F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA2F2
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA2F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA2F2 | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93B2F5
Deuteranopia (green-blind)
#9DB5F0
Tritanopia (blue-blind)
#CBADBF
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfa2f2; /* rgb */ color: rgb(207, 162, 242); /* oklch */ color: oklch(78.2% 0.120 309.5);
Tailwind
colors: {
custom: {
50: '#debef6',
500: '#cfa2f2',
950: '#000000',
},
}SCSS
$custom: #cfa2f2; $custom-light: #debef6; $custom-dark: #000000;
JSON
{
"hex": "#cfa2f2",
"rgb": {
"r": 207,
"g": 162,
"b": 242
},
"hsl": {
"h": 273.75,
"s": 75.472,
"l": 79.216
},
"oklch": {
"l": 0.7816,
"c": 0.12046,
"h": 309.5
},
"luminance": 0.45517
}Semantic roles & 50–950 ramp
primary
#CFA2F2
secondary
#E4F3D8
accent
#D80E66
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185