#CABEFF#CABEFF
#CABEFF is a very light, moderate violet. Relative luminance 0.566; OKLCH L 83.4% C 0.091 H 292.8°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CABEFF |
|---|---|
| RGB | rgb(202, 190, 255) |
| HSL | hsl(251, 100%, 87%) |
| HSV | hsv(251, 25%, 100%) |
| CMYK | cmyk(20.8%, 25.5%, 0%, 0%) |
| CIE-LAB | lab(79.96, 17.25, -30.45) |
| CIE-LCH | lch(79.96, 35.00, 299.53°) |
| OKLab | oklab(83.38% 0.0352 -0.0837) |
| OKLCH | oklch(83.38% 0.091 292.8) |
| XYZ | xyz(60.8164, 56.6028, 102.3097) |
| Luminance | 0.5660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 4.37
Periwinkle
#CCCCFF
ΔE00 4.38
Light Violet
#D6B4FC
ΔE00 5.05
Pale Violet
#CEAEFA
ΔE00 5.19
Light Lavender
#DFC5FE
ΔE00 5.24
Pale Lilac
#E4CBFF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABEFF #F3FFBE
analogous
#BED3FF #CABEFF #EBBEFF
triadic
#CABEFF #FFCABE #BEFFCA
tetradic
#CABEFF #FFBED3 #F3FFBE #BEFFEB
square
#CABEFF #FFBED3 #F3FFBE #BEFFEB
split-complementary
#CABEFF #FFEBBE #D3FFBE
monochromatic
#6644FF #9881FF #CABEFF #E6E0FF #E6E0FF
Accessibility & contrast
On white
1.70
#CABEFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.32
#CABEFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABEFF
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABEFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABEFF | 1.00 | 1.70 | 12.32 | 12.32 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#B0C5FD
Tritanopia (blue-blind)
#BFC8D5
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cabeff; /* rgb */ color: rgb(202, 190, 255); /* oklch */ color: oklch(83.4% 0.091 292.8);
Tailwind
colors: {
custom: {
50: '#dbd1ff',
500: '#cabeff',
950: '#000000',
},
}SCSS
$custom: #cabeff; $custom-light: #dbd1ff; $custom-dark: #000000;
JSON
{
"hex": "#cabeff",
"rgb": {
"r": 202,
"g": 190,
"b": 255
},
"hsl": {
"h": 251.077,
"s": 100,
"l": 87.255
},
"oklch": {
"l": 0.83378,
"c": 0.09077,
"h": 292.8
},
"luminance": 0.56603
}Semantic roles & 50–950 ramp
primary
#CABEFF
secondary
#D3E77A
accent
#E600BB
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386