#CFB2DF#CFB2DF
#CFB2DF is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.3% C 0.070 H 313.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB2DF |
|---|---|
| RGB | rgb(207, 178, 223) |
| HSL | hsl(279, 41%, 79%) |
| HSV | hsv(279, 20%, 87%) |
| CMYK | cmyk(7.2%, 20.2%, 0%, 12.5%) |
| CIE-LAB | lab(76.34, 18.58, -18.71) |
| CIE-LCH | lch(76.34, 26.37, 314.81°) |
| OKLab | oklab(80.32% 0.048 -0.0506) |
| OKLCH | oklch(80.32% 0.07 313.5) |
| XYZ | xyz(54.9696, 50.4345, 76.6367) |
| Luminance | 0.5043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.22
Light Lavender
#DFC5FE
ΔE00 5.89
Light Violet
#D6B4FC
ΔE00 6.36
Thistle
#D8BFD8
ΔE00 6.49
Pale Lilac
#E4CBFF
ΔE00 6.51
Light Lilac
#EDC8FF
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB2DF #C2DFB2
analogous
#B8B2DF #CFB2DF #DFB2D8
triadic
#CFB2DF #DFCFB2 #B2DFCF
tetradic
#CFB2DF #DFB8B2 #C2DFB2 #B2D8DF
square
#CFB2DF #DFB8B2 #C2DFB2 #B2D8DF
split-complementary
#CFB2DF #D8DFB2 #B2DFB8
monochromatic
#995CBB #B487CD #CFB2DF #EADDF1 #F2E9F6
Accessibility & contrast
On white
1.89
#CFB2DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#CFB2DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB2DF
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB2DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB2DF | 1.00 | 1.89 | 11.09 | 11.09 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ACBBE1
Deuteranopia (green-blind)
#B2BDDD
Tritanopia (blue-blind)
#CEB7C1
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #cfb2df; /* rgb */ color: rgb(207, 178, 223); /* oklch */ color: oklch(80.3% 0.070 313.5);
Tailwind
colors: {
custom: {
50: '#dec9e9',
500: '#cfb2df',
950: '#000000',
},
}SCSS
$custom: #cfb2df; $custom-light: #dec9e9; $custom-dark: #000000;
JSON
{
"hex": "#cfb2df",
"rgb": {
"r": 207,
"g": 178,
"b": 223
},
"hsl": {
"h": 278.667,
"s": 41.284,
"l": 78.627
},
"oklch": {
"l": 0.80315,
"c": 0.06977,
"h": 313.5
},
"luminance": 0.50434
}Semantic roles & 50–950 ramp
primary
#CFB2DF
secondary
#92B87E
accent
#B43160
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284