#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
RGBrgb(202, 190, 242)
HSLhsl(254, 67%, 85%)
HSVhsv(254, 21%, 95%)
CMYKcmyk(16.5%, 21.5%, 0%, 5.1%)
CIE-LABlab(79.50, 14.40, -24.19)
CIE-LCHlch(79.50, 28.16, 300.76°)
OKLaboklab(82.87% 0.0313 -0.066)
OKLCHoklch(82.87% 0.073 295.3)
XYZxyz(58.7941, 55.7939, 91.6590)
Luminance0.5579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##CABEF21.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.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

Preview Lab

Preview with #CABEF2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CABEF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva