#CAB2DD#CAB2DD

#CAB2DD is a light, moderate violet. Relative luminance 0.496; OKLCH L 79.8% C 0.065 H 310.0°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CAB2DD
RGBrgb(202, 178, 221)
HSLhsl(273, 39%, 78%)
HSVhsv(273, 19%, 87%)
CMYKcmyk(8.6%, 19.5%, 0%, 13.3%)
CIE-LABlab(75.83, 16.55, -18.42)
CIE-LCHlch(75.83, 24.76, 311.94°)
OKLaboklab(79.8% 0.0419 -0.0498)
OKLCHoklch(79.8% 0.065 310)
XYZxyz(53.3264, 49.6182, 75.1606)
Luminance0.4962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2DD #C5DDB2
analogous
#B4B2DD #CAB2DD #DDB2DA
triadic
#CAB2DD #DDCAB2 #B2DDCA
tetradic
#CAB2DD #DDB4B2 #C5DDB2 #B2DADD
square
#CAB2DD #DDB4B2 #C5DDB2 #B2DADD
split-complementary
#CAB2DD #DADDB2 #B2DDB4
monochromatic
#905DB8 #AD88CA #CAB2DD #E7DCF0 #F0EAF6

Accessibility & contrast

On white

1.92
#CAB2DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CAB2DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2DD
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2DD#FFFFFF#000000##000000
##CAB2DD1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBADF
Deuteranopia (green-blind)
#B0BBDC
Tritanopia (blue-blind)
#C8B7C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cab2dd;
/* rgb */ color: rgb(202, 178, 221);
/* oklch */ color: oklch(79.8% 0.065 310.0);
Tailwind
colors: {
  custom: {
    50: '#dac9e7',
    500: '#cab2dd',
    950: '#000000',
  },
}
SCSS
$custom: #cab2dd;
$custom-light: #dac9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2dd",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 221
  },
  "hsl": {
    "h": 273.488,
    "s": 38.739,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79802,
    "c": 0.06509,
    "h": 310
  },
  "luminance": 0.49618
}

Semantic roles & 50–950 ramp

primary
#CAB2DD
secondary
#E5ECDF
accent
#B2346B
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAB2DD

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

Preview Lab → · Contrast checker → · Palette generator →

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