#CFB2F8#CFB2F8
#CFB2F8 is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.3% C 0.101 H 303.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2F8 |
|---|---|
| RGB | rgb(207, 178, 248) |
| HSL | hsl(265, 83%, 84%) |
| HSV | hsv(265, 28%, 97%) |
| CMYK | cmyk(16.5%, 28.2%, 0%, 2.7%) |
| CIE-LAB | lab(77.21, 23.77, -30.88) |
| CIE-LCH | lch(77.21, 38.97, 307.58°) |
| OKLab | oklab(81.28% 0.0554 -0.0848) |
| OKLCH | oklch(81.28% 0.101 303.2) |
| XYZ | xyz(58.5924, 51.8836, 95.7165) |
| Luminance | 0.5188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 1.34
Pale Violet
#CEAEFA
ΔE00 1.38
Mauve
#E0B0FF
ΔE00 3.82
Lavender (survey)
#C79FEF
ΔE00 4.84
Lilac (survey)
#CEA2FD
ΔE00 4.91
Light Lavender
#DFC5FE
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2F8 #DBF8B2
analogous
#B2B8F8 #CFB2F8 #F2B2F8
triadic
#CFB2F8 #F8CFB2 #B2F8CF
tetradic
#CFB2F8 #F8B2B8 #DBF8B2 #B2F8F2
square
#CFB2F8 #F8B2B8 #DBF8B2 #B2F8F2
split-complementary
#CFB2F8 #F8F2B2 #B8F8B2
monochromatic
#8942EE #AC7AF3 #CFB2F8 #EEE3FC #EEE3FC
Accessibility & contrast
On white
1.85
#CFB2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#CFB2F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2F8
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2F8 | 1.00 | 1.85 | 11.38 | 11.38 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4BEFB
Deuteranopia (green-blind)
#A9BFF6
Tritanopia (blue-blind)
#C9BCCB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfb2f8; /* rgb */ color: rgb(207, 178, 248); /* oklch */ color: oklch(81.3% 0.101 303.2);
Tailwind
colors: {
custom: {
50: '#dec9fa',
500: '#cfb2f8',
950: '#000000',
},
}SCSS
$custom: #cfb2f8; $custom-light: #dec9fa; $custom-dark: #000000;
JSON
{
"hex": "#cfb2f8",
"rgb": {
"r": 207,
"g": 178,
"b": 248
},
"hsl": {
"h": 264.857,
"s": 83.333,
"l": 83.529
},
"oklch": {
"l": 0.81279,
"c": 0.10129,
"h": 303.2
},
"luminance": 0.51883
}Semantic roles & 50–950 ramp
primary
#CFB2F8
secondary
#B0DA74
accent
#E00685
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285