#CAB2EC#CAB2EC

#CAB2EC is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.4% C 0.084 H 303.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CAB2EC
RGBrgb(202, 178, 236)
HSLhsl(265, 60%, 81%)
HSVhsv(265, 25%, 93%)
CMYKcmyk(14.4%, 24.6%, 0%, 7.5%)
CIE-LABlab(76.35, 19.65, -25.77)
CIE-LCHlch(76.35, 32.41, 307.33°)
OKLaboklab(80.37% 0.0465 -0.0704)
OKLCHoklch(80.37% 0.084 303.5)
XYZxyz(55.4149, 50.4536, 86.1598)
Luminance0.5045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2EC #D4ECB2
analogous
#B2B7EC #CAB2EC #E7B2EC
triadic
#CAB2EC #ECCAB2 #B2ECCA
tetradic
#CAB2EC #ECB2B7 #D4ECB2 #B2ECE7
square
#CAB2EC #ECB2B7 #D4ECB2 #B2ECE7
split-complementary
#CAB2EC #ECE7B2 #B7ECB2
monochromatic
#8650D4 #A881E0 #CAB2EC #ECE3F8 #EEE6F9

Accessibility & contrast

On white

1.89
#CAB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CAB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2EC
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2EC#FFFFFF#000000##000000
##CAB2EC1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BCEE
Deuteranopia (green-blind)
#ABBCEA
Tritanopia (blue-blind)
#C5BAC6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cab2ec;
/* rgb */ color: rgb(202, 178, 236);
/* oklch */ color: oklch(80.4% 0.084 303.5);
Tailwind
colors: {
  custom: {
    50: '#dac9f2',
    500: '#cab2ec',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ec;
$custom-light: #dac9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ec",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 264.828,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80368,
    "c": 0.08438,
    "h": 303.5
  },
  "luminance": 0.50453
}

Semantic roles & 50–950 ramp

primary
#CAB2EC
secondary
#A8C979
accent
#C81D81
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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