#CABEF2#CABEF2
#CABEF2 is a very light, moderate violet. Relative luminance 0.558; OKLCH L 82.9% C 0.073 H 295.3°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CABEF2 |
|---|---|
| RGB | rgb(202, 190, 242) |
| HSL | hsl(254, 67%, 85%) |
| HSV | hsv(254, 21%, 95%) |
| CMYK | cmyk(16.5%, 21.5%, 0%, 5.1%) |
| CIE-LAB | lab(79.50, 14.40, -24.19) |
| CIE-LCH | lch(79.50, 28.16, 300.76°) |
| OKLab | oklab(82.87% 0.0313 -0.066) |
| OKLCH | oklch(82.87% 0.073 295.3) |
| XYZ | xyz(58.7941, 55.7939, 91.6590) |
| Luminance | 0.5579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 4.29
Periwinkle
#CCCCFF
ΔE00 4.42
Pale Lilac
#E4CBFF
ΔE00 5.21
Light Periwinkle
#C1C6FC
ΔE00 5.24
Light Violet
#D6B4FC
ΔE00 5.65
Pale Violet
#CEAEFA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CABEF2 #E6F2BE
analogous
#BECCF2 #CABEF2 #E4BEF2
triadic
#CABEF2 #F2CABE #BEF2CA
tetradic
#CABEF2 #F2BECC #E6F2BE #BEF2E4
square
#CABEF2 #F2BECC #E6F2BE #BEF2E4
split-complementary
#CABEF2 #F2E4BE #CCF2BE
monochromatic
#7758DE #A08BE8 #CABEF2 #EAE5FA #EAE5FA
Accessibility & contrast
On white
1.73
#CABEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.16
#CABEF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CABEF2
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CABEF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CABEF2 | 1.00 | 1.73 | 12.16 | 12.16 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3C5F4
Deuteranopia (green-blind)
#B4C4F0
Tritanopia (blue-blind)
#C3C6D0
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cabef2; /* rgb */ color: rgb(202, 190, 242); /* oklch */ color: oklch(82.9% 0.073 295.3);
Tailwind
colors: {
custom: {
50: '#dad1f6',
500: '#cabef2',
950: '#000000',
},
}SCSS
$custom: #cabef2; $custom-light: #dad1f6; $custom-dark: #000000;
JSON
{
"hex": "#cabef2",
"rgb": {
"r": 202,
"g": 190,
"b": 242
},
"hsl": {
"h": 253.846,
"s": 66.667,
"l": 84.706
},
"oklch": {
"l": 0.82871,
"c": 0.07308,
"h": 295.3
},
"luminance": 0.55794
}Semantic roles & 50–950 ramp
primary
#CABEF2
secondary
#BFD282
accent
#CF17A4
background
#FEFEFF
surface
#FBFBFE
border
#D4D4D6
text
#151417
muted
#848385