#CBAFDF#CBAFDF
#CBAFDF is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.4% C 0.073 H 311.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAFDF |
|---|---|
| RGB | rgb(203, 175, 223) |
| HSL | hsl(275, 43%, 78%) |
| HSV | hsv(275, 22%, 87%) |
| CMYK | cmyk(9%, 21.5%, 0%, 12.5%) |
| CIE-LAB | lab(75.25, 18.92, -20.38) |
| CIE-LCH | lch(75.25, 27.80, 312.87°) |
| OKLab | oklab(79.4% 0.048 -0.0553) |
| OKLCH | oklch(79.4% 0.073 311) |
| XYZ | xyz(53.2756, 48.6846, 76.3882) |
| Luminance | 0.4868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.34
Light Violet
#D6B4FC
ΔE00 5.76
Light Lavender
#DFC5FE
ΔE00 6.11
Pale Violet
#CEAEFA
ΔE00 6.34
Lavender
#B39DDB
ΔE00 6.75
Plum
#DDA0DD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAFDF #C3DFAF
analogous
#B3AFDF #CBAFDF #DFAFDB
triadic
#CBAFDF #DFCBAF #AFDFCB
tetradic
#CBAFDF #DFB3AF #C3DFAF #AFDBDF
square
#CBAFDF #DFB3AF #C3DFAF #AFDBDF
split-complementary
#CBAFDF #DBDFAF #AFDFB3
monochromatic
#9258BC #AF83CE #CBAFDF #E7DBF0 #F1E9F6
Accessibility & contrast
On white
1.96
#CBAFDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#CBAFDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAFDF
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAFDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAFDF | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8B8E1
Deuteranopia (green-blind)
#ADBADD
Tritanopia (blue-blind)
#C9B5BF
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cbafdf; /* rgb */ color: rgb(203, 175, 223); /* oklch */ color: oklch(79.4% 0.073 311.0);
Tailwind
colors: {
custom: {
50: '#dbc7e9',
500: '#cbafdf',
950: '#000000',
},
}SCSS
$custom: #cbafdf; $custom-light: #dbc7e9; $custom-dark: #000000;
JSON
{
"hex": "#cbafdf",
"rgb": {
"r": 203,
"g": 175,
"b": 223
},
"hsl": {
"h": 275,
"s": 42.857,
"l": 78.039
},
"oklch": {
"l": 0.79397,
"c": 0.0732,
"h": 311
},
"luminance": 0.48684
}Semantic roles & 50–950 ramp
primary
#CBAFDF
secondary
#E4EDDE
accent
#B63068
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284