#CFB7F1#CFB7F1
#CFB7F1 is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.9% C 0.084 H 303.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB7F1 |
|---|---|
| RGB | rgb(207, 183, 241) |
| HSL | hsl(265, 67%, 83%) |
| HSV | hsv(265, 24%, 95%) |
| CMYK | cmyk(14.1%, 24.1%, 0%, 5.5%) |
| CIE-LAB | lab(78.16, 19.55, -25.66) |
| CIE-LCH | lch(78.16, 32.26, 307.30°) |
| OKLab | oklab(81.93% 0.0463 -0.07) |
| OKLCH | oklch(81.93% 0.084 303.5) |
| XYZ | xyz(58.5397, 53.4833, 90.4414) |
| Luminance | 0.5348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 3.09
Light Lavender
#DFC5FE
ΔE00 3.61
Pale Violet
#CEAEFA
ΔE00 3.99
Pale Lilac
#E4CBFF
ΔE00 5.12
Mauve
#E0B0FF
ΔE00 5.40
Light Lilac
#EDC8FF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB7F1 #D9F1B7
analogous
#B7BCF1 #CFB7F1 #ECB7F1
triadic
#CFB7F1 #F1CFB7 #B7F1CF
tetradic
#CFB7F1 #F1B7BC #D9F1B7 #B7F1EC
square
#CFB7F1 #F1B7BC #D9F1B7 #B7F1EC
split-complementary
#CFB7F1 #F1ECB7 #BCF1B7
monochromatic
#8B51DD #AD84E7 #CFB7F1 #EEE5FA #EEE5FA
Accessibility & contrast
On white
1.80
#CFB7F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CFB7F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB7F1
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB7F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB7F1 | 1.00 | 1.80 | 11.70 | 11.70 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACC1F3
Deuteranopia (green-blind)
#B0C1EF
Tritanopia (blue-blind)
#CABFCB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfb7f1; /* rgb */ color: rgb(207, 183, 241); /* oklch */ color: oklch(81.9% 0.084 303.5);
Tailwind
colors: {
custom: {
50: '#deccf5',
500: '#cfb7f1',
950: '#000000',
},
}SCSS
$custom: #cfb7f1; $custom-light: #deccf5; $custom-dark: #000000;
JSON
{
"hex": "#cfb7f1",
"rgb": {
"r": 207,
"g": 183,
"b": 241
},
"hsl": {
"h": 264.828,
"s": 67.442,
"l": 83.137
},
"oklch": {
"l": 0.81925,
"c": 0.08399,
"h": 303.5
},
"luminance": 0.53483
}Semantic roles & 50–950 ramp
primary
#CFB7F1
secondary
#ADD07C
accent
#CF1683
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385