#CFB7EB#CFB7EB
#CFB7EB is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.7% C 0.076 H 305.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB7EB |
|---|---|
| RGB | rgb(207, 183, 235) |
| HSL | hsl(268, 57%, 82%) |
| HSV | hsv(268, 22%, 92%) |
| CMYK | cmyk(11.9%, 22.1%, 0%, 7.8%) |
| CIE-LAB | lab(77.95, 18.30, -22.74) |
| CIE-LCH | lch(77.95, 29.19, 308.82°) |
| OKLab | oklab(81.7% 0.0445 -0.0619) |
| OKLCH | oklch(81.7% 0.076 305.7) |
| XYZ | xyz(57.6582, 53.1307, 85.7989) |
| Luminance | 0.5313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 3.83
Light Violet
#D6B4FC
ΔE00 4.34
Pale Lilac
#E4CBFF
ΔE00 4.95
Pale Violet
#CEAEFA
ΔE00 5.29
Light Lilac
#EDC8FF
ΔE00 5.76
Light Lavendar
#EFC0FE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB7EB #D3EBB7
analogous
#B7B9EB #CFB7EB #E9B7EB
triadic
#CFB7EB #EBCFB7 #B7EBCF
tetradic
#CFB7EB #EBB7B9 #D3EBB7 #B7EBE9
square
#CFB7EB #EBB7B9 #D3EBB7 #B7EBE9
split-complementary
#CFB7EB #EBE9B7 #B9EBB7
monochromatic
#8F57D0 #AF87DE #CFB7EB #EFE7F8 #EFE7F8
Accessibility & contrast
On white
1.81
#CFB7EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CFB7EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB7EB
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB7EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB7EB | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEC0ED
Deuteranopia (green-blind)
#B2C1E9
Tritanopia (blue-blind)
#CBBEC9
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfb7eb; /* rgb */ color: rgb(207, 183, 235); /* oklch */ color: oklch(81.7% 0.076 305.7);
Tailwind
colors: {
custom: {
50: '#deccf1',
500: '#cfb7eb',
950: '#000000',
},
}SCSS
$custom: #cfb7eb; $custom-light: #deccf1; $custom-dark: #000000;
JSON
{
"hex": "#cfb7eb",
"rgb": {
"r": 207,
"g": 183,
"b": 235
},
"hsl": {
"h": 267.692,
"s": 56.522,
"l": 81.961
},
"oklch": {
"l": 0.81697,
"c": 0.07623,
"h": 305.7
},
"luminance": 0.53131
}Semantic roles & 50–950 ramp
primary
#CFB7EB
secondary
#A6C77F
accent
#C42179
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385