#CAB2E2#CAB2E2

#CAB2E2 is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.0% C 0.071 H 307.5°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CAB2E2
RGBrgb(202, 178, 226)
HSLhsl(270, 45%, 79%)
HSVhsv(270, 21%, 89%)
CMYKcmyk(10.6%, 21.2%, 0%, 11.4%)
CIE-LABlab(76.00, 17.57, -20.88)
CIE-LCHlch(76.00, 27.29, 310.07°)
OKLaboklab(79.99% 0.0435 -0.0567)
OKLCHoklch(79.99% 0.071 307.5)
XYZxyz(54.0025, 49.8886, 78.7213)
Luminance0.4989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2E2 #CAE2B2
analogous
#B2B2E2 #CAB2E2 #E2B2E2
triadic
#CAB2E2 #E2CAB2 #B2E2CA
tetradic
#CAB2E2 #E2B2B2 #CAE2B2 #B2E2E2
square
#CAB2E2 #E2B2B2 #CAE2B2 #B2E2E2
split-complementary
#CAB2E2 #E2E2B2 #B2E2B2
monochromatic
#8D59C1 #AB86D1 #CAB2E2 #E9DEF3 #F0E9F7

Accessibility & contrast

On white

1.91
#CAB2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CAB2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2E2
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2E2#FFFFFF#000000##000000
##CAB2E21.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABAE4
Deuteranopia (green-blind)
#AFBCE0
Tritanopia (blue-blind)
#C7B8C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cab2e2;
/* rgb */ color: rgb(202, 178, 226);
/* oklch */ color: oklch(80.0% 0.071 307.5);
Tailwind
colors: {
  custom: {
    50: '#dac9eb',
    500: '#cab2e2',
    950: '#000000',
  },
}
SCSS
$custom: #cab2e2;
$custom-light: #dac9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2e2",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 226
  },
  "hsl": {
    "h": 270,
    "s": 45.283,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79986,
    "c": 0.07144,
    "h": 307.5
  },
  "luminance": 0.49888
}

Semantic roles & 50–950 ramp

primary
#CAB2E2
secondary
#E6EEDD
accent
#B82D73
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAB2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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