#CFB2E2#CFB2E2
#CFB2E2 is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.4% C 0.073 H 311.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2E2 |
|---|---|
| RGB | rgb(207, 178, 226) |
| HSL | hsl(276, 45%, 79%) |
| HSV | hsv(276, 21%, 89%) |
| CMYK | cmyk(8.4%, 21.2%, 0%, 11.4%) |
| CIE-LAB | lab(76.43, 19.18, -20.18) |
| CIE-LCH | lch(76.43, 27.84, 313.54°) |
| OKLab | oklab(80.43% 0.049 -0.0547) |
| OKLCH | oklch(80.43% 0.073 311.9) |
| XYZ | xyz(55.3777, 50.5977, 78.7858) |
| Luminance | 0.5060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 5.42
Light Violet
#D6B4FC
ΔE00 5.56
Lilac
#C8A2C8
ΔE00 5.72
Pale Lilac
#E4CBFF
ΔE00 6.24
Light Lilac
#EDC8FF
ΔE00 6.33
Light Lavendar
#EFC0FE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2E2 #C5E2B2
analogous
#B7B2E2 #CFB2E2 #E2B2DD
triadic
#CFB2E2 #E2CFB2 #B2E2CF
tetradic
#CFB2E2 #E2B7B2 #C5E2B2 #B2DDE2
square
#CFB2E2 #E2B7B2 #C5E2B2 #B2DDE2
split-complementary
#CFB2E2 #DDE2B2 #B2E2B7
monochromatic
#9859C1 #B386D1 #CFB2E2 #EBDEF3 #F1E9F7
Accessibility & contrast
On white
1.89
#CFB2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.12
#CFB2E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2E2
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2E2 | 1.00 | 1.89 | 11.12 | 11.12 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ABBBE4
Deuteranopia (green-blind)
#B1BDE0
Tritanopia (blue-blind)
#CDB8C2
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #cfb2e2; /* rgb */ color: rgb(207, 178, 226); /* oklch */ color: oklch(80.4% 0.073 311.9);
Tailwind
colors: {
custom: {
50: '#dec9eb',
500: '#cfb2e2',
950: '#000000',
},
}SCSS
$custom: #cfb2e2; $custom-light: #dec9eb; $custom-dark: #000000;
JSON
{
"hex": "#cfb2e2",
"rgb": {
"r": 207,
"g": 178,
"b": 226
},
"hsl": {
"h": 276.25,
"s": 45.283,
"l": 79.216
},
"oklch": {
"l": 0.80425,
"c": 0.07342,
"h": 311.9
},
"luminance": 0.50597
}Semantic roles & 50–950 ramp
primary
#CFB2E2
secondary
#96BB7D
accent
#B82D64
background
#FEFDFE
surface
#FCF9FD
border
#D5D2D5
text
#151316
muted
#848284