#CABAFF#CABAFF
#CABAFF is a very light, moderate violet. Relative luminance 0.549; OKLCH L 82.6% C 0.097 H 294.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CABAFF |
|---|---|
| RGB | rgb(202, 186, 255) |
| HSL | hsl(254, 100%, 86%) |
| HSV | hsv(254, 27%, 100%) |
| CMYK | cmyk(20.8%, 27.1%, 0%, 0%) |
| CIE-LAB | lab(78.98, 19.43, -31.95) |
| CIE-LCH | lch(78.98, 37.40, 301.31°) |
| OKLab | oklab(82.63% 0.0407 -0.0879) |
| OKLCH | oklch(82.63% 0.097 294.8) |
| XYZ | xyz(59.9619, 54.8938, 102.0249) |
| Luminance | 0.5489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 4.01
Light Violet
#D6B4FC
ΔE00 4.11
Light Lavender
#DFC5FE
ΔE00 5.41
Light Periwinkle
#C1C6FC
ΔE00 5.43
Periwinkle
#CCCCFF
ΔE00 5.60
Mauve
#E0B0FF
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABAFF #EFFFBA
analogous
#BACDFF #CABAFF #EDBAFF
triadic
#CABAFF #FFCABA #BAFFCA
tetradic
#CABAFF #FFBACD #EFFFBA #BAFFED
square
#CABAFF #FFBACD #EFFFBA #BAFFED
split-complementary
#CABAFF #FFEDBA #CDFFBA
monochromatic
#6C40FF #9B7DFF #CABAFF #E7E0FF #E7E0FF
Accessibility & contrast
On white
1.75
#CABAFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#CABAFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABAFF
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABAFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABAFF | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AAC4FF
Deuteranopia (green-blind)
#ACC3FD
Tritanopia (blue-blind)
#C0C5D2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cabaff; /* rgb */ color: rgb(202, 186, 255); /* oklch */ color: oklch(82.6% 0.097 294.8);
Tailwind
colors: {
custom: {
50: '#dbceff',
500: '#cabaff',
950: '#000000',
},
}SCSS
$custom: #cabaff; $custom-light: #dbceff; $custom-dark: #000000;
JSON
{
"hex": "#cabaff",
"rgb": {
"r": 202,
"g": 186,
"b": 255
},
"hsl": {
"h": 253.913,
"s": 100,
"l": 86.471
},
"oklch": {
"l": 0.82625,
"c": 0.09688,
"h": 294.8
},
"luminance": 0.54894
}Semantic roles & 50–950 ramp
primary
#CABAFF
secondary
#CDE776
accent
#E600B0
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386