#CFB7EF#CFB7EF
#CFB7EF is a light, moderate violet. Relative luminance 0.534; OKLCH L 81.8% C 0.081 H 304.2°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB7EF |
|---|---|
| RGB | rgb(207, 183, 239) |
| HSL | hsl(266, 64%, 83%) |
| HSV | hsv(266, 23%, 94%) |
| CMYK | cmyk(13.4%, 23.4%, 0%, 6.3%) |
| CIE-LAB | lab(78.09, 19.13, -24.69) |
| CIE-LCH | lch(78.09, 31.23, 307.77°) |
| OKLab | oklab(81.85% 0.0458 -0.0673) |
| OKLCH | oklch(81.85% 0.081 304.2) |
| XYZ | xyz(58.2426, 53.3645, 88.8767) |
| Luminance | 0.5336 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.47
Light Lavender
#DFC5FE
ΔE00 3.62
Pale Violet
#CEAEFA
ΔE00 4.40
Pale Lilac
#E4CBFF
ΔE00 5.02
Mauve
#E0B0FF
ΔE00 5.64
Light Lilac
#EDC8FF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB7EF #D7EFB7
analogous
#B7BBEF #CFB7EF #EBB7EF
triadic
#CFB7EF #EFCFB7 #B7EFCF
tetradic
#CFB7EF #EFB7BB #D7EFB7 #B7EFEB
square
#CFB7EF #EFB7BB #D7EFB7 #B7EFEB
split-complementary
#CFB7EF #EFEBB7 #BBEFB7
monochromatic
#8C53D9 #AE85E4 #CFB7EF #EEE6F9 #EEE6F9
Accessibility & contrast
On white
1.80
#CFB7EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#CFB7EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB7EF
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB7EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB7EF | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADC0F1
Deuteranopia (green-blind)
#B1C1ED
Tritanopia (blue-blind)
#CABFCA
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfb7ef; /* rgb */ color: rgb(207, 183, 239); /* oklch */ color: oklch(81.8% 0.081 304.2);
Tailwind
colors: {
custom: {
50: '#deccf4',
500: '#cfb7ef',
950: '#000000',
},
}SCSS
$custom: #cfb7ef; $custom-light: #deccf4; $custom-dark: #000000;
JSON
{
"hex": "#cfb7ef",
"rgb": {
"r": 207,
"g": 183,
"b": 239
},
"hsl": {
"h": 265.714,
"s": 63.636,
"l": 82.745
},
"oklch": {
"l": 0.81848,
"c": 0.0814,
"h": 304.2
},
"luminance": 0.53364
}Semantic roles & 50–950 ramp
primary
#CFB7EF
secondary
#ABCD7D
accent
#CB1A7F
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385