#CAB2EA#CAB2EA

#CAB2EA is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.3% C 0.082 H 304.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CAB2EA
RGBrgb(202, 178, 234)
HSLhsl(266, 57%, 81%)
HSVhsv(266, 24%, 92%)
CMYKcmyk(13.7%, 23.9%, 0%, 8.2%)
CIE-LABlab(76.28, 19.23, -24.80)
CIE-LCHlch(76.28, 31.38, 307.80°)
OKLaboklab(80.29% 0.0459 -0.0677)
OKLCHoklch(80.29% 0.082 304.2)
XYZxyz(55.1259, 50.3380, 84.6380)
Luminance0.5034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2EA #D2EAB2
analogous
#B2B6EA #CAB2EA #E6B2EA
triadic
#CAB2EA #EACAB2 #B2EACA
tetradic
#CAB2EA #EAB2B6 #D2EAB2 #B2EAE6
square
#CAB2EA #EAB2B6 #D2EAB2 #B2EAE6
split-complementary
#CAB2EA #EAE6B2 #B6EAB2
monochromatic
#8852D0 #A982DD #CAB2EA #EBE2F7 #EEE7F8

Accessibility & contrast

On white

1.90
#CAB2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CAB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2EA
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2EA#FFFFFF#000000##000000
##CAB2EA1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BBEC
Deuteranopia (green-blind)
#ACBCE8
Tritanopia (blue-blind)
#C5BAC5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cab2ea;
/* rgb */ color: rgb(202, 178, 234);
/* oklch */ color: oklch(80.3% 0.082 304.2);
Tailwind
colors: {
  custom: {
    50: '#dac9f0',
    500: '#cab2ea',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ea;
$custom-light: #dac9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ea",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 265.714,
    "s": 57.143,
    "l": 80.784
  },
  "oklch": {
    "l": 0.8029,
    "c": 0.08177,
    "h": 304.2
  },
  "luminance": 0.50338
}

Semantic roles & 50–950 ramp

primary
#CAB2EA
secondary
#A6C67A
accent
#C5217E
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CAB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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