#CFB4E9#CFB4E9
#CFB4E9 is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.1% C 0.079 H 307.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB4E9 |
|---|---|
| RGB | rgb(207, 180, 233) |
| HSL | hsl(271, 55%, 81%) |
| HSV | hsv(271, 23%, 91%) |
| CMYK | cmyk(11.2%, 22.7%, 0%, 8.6%) |
| CIE-LAB | lab(77.16, 19.52, -22.88) |
| CIE-LCH | lch(77.16, 30.07, 310.47°) |
| OKLab | oklab(81.06% 0.0483 -0.0622) |
| OKLCH | oklch(81.06% 0.079 307.8) |
| XYZ | xyz(56.7587, 51.7914, 84.0816) |
| Luminance | 0.5179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 4.15
Light Lavender
#DFC5FE
ΔE00 4.38
Pale Violet
#CEAEFA
ΔE00 5.04
Pale Lilac
#E4CBFF
ΔE00 5.55
Mauve
#E0B0FF
ΔE00 5.80
Light Lilac
#EDC8FF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB4E9 #CEE9B4
analogous
#B4B4E9 #CFB4E9 #E9B4E8
triadic
#CFB4E9 #E9CFB4 #B4E9CF
tetradic
#CFB4E9 #E9B4B4 #CEE9B4 #B4E8E9
square
#CFB4E9 #E9B4B4 #CEE9B4 #B4E8E9
split-complementary
#CFB4E9 #E8E9B4 #B4E9B4
monochromatic
#9255CD #B185DB #CFB4E9 #EDE3F7 #F0E7F8
Accessibility & contrast
On white
1.85
#CFB4E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#CFB4E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB4E9
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB4E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB4E9 | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ABBDEB
Deuteranopia (green-blind)
#B0BFE7
Tritanopia (blue-blind)
#CCBBC6
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cfb4e9; /* rgb */ color: rgb(207, 180, 233); /* oklch */ color: oklch(81.1% 0.079 307.8);
Tailwind
colors: {
custom: {
50: '#decaf0',
500: '#cfb4e9',
950: '#000000',
},
}SCSS
$custom: #cfb4e9; $custom-light: #decaf0; $custom-dark: #000000;
JSON
{
"hex": "#cfb4e9",
"rgb": {
"r": 207,
"g": 180,
"b": 233
},
"hsl": {
"h": 270.566,
"s": 54.639,
"l": 80.98
},
"oklch": {
"l": 0.8106,
"c": 0.07874,
"h": 307.8
},
"luminance": 0.51791
}Semantic roles & 50–950 ramp
primary
#CFB4E9
secondary
#A0C57C
accent
#C22371
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285