#CAB2DB#CAB2DB

#CAB2DB is a light, moderate violet. Relative luminance 0.495; OKLCH L 79.7% C 0.063 H 311.2°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CAB2DB
RGBrgb(202, 178, 219)
HSLhsl(275, 36%, 78%)
HSVhsv(275, 19%, 86%)
CMYKcmyk(7.8%, 18.7%, 0%, 14.1%)
CIE-LABlab(75.77, 16.15, -17.43)
CIE-LCHlch(75.77, 23.76, 312.81°)
OKLaboklab(79.73% 0.0412 -0.0471)
OKLCHoklch(79.73% 0.063 311.2)
XYZxyz(53.0615, 49.5122, 73.7656)
Luminance0.4951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2DB #C3DBB2
analogous
#B5B2DB #CAB2DB #DBB2D7
triadic
#CAB2DB #DBCAB2 #B2DBCA
tetradic
#CAB2DB #DBB5B2 #C3DBB2 #B2D7DB
square
#CAB2DB #DBB5B2 #C3DBB2 #B2D7DB
split-complementary
#CAB2DB #D7DBB2 #B2DBB5
monochromatic
#915FB4 #AD88C8 #CAB2DB #E7DCEE #F1EAF5

Accessibility & contrast

On white

1.93
#CAB2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CAB2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2DB
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2DB#FFFFFF#000000##000000
##CAB2DB1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACB9DD
Deuteranopia (green-blind)
#B1BBDA
Tritanopia (blue-blind)
#C8B7C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cab2db;
/* rgb */ color: rgb(202, 178, 219);
/* oklch */ color: oklch(79.7% 0.063 311.2);
Tailwind
colors: {
  custom: {
    50: '#dac9e6',
    500: '#cab2db',
    950: '#000000',
  },
}
SCSS
$custom: #cab2db;
$custom-light: #dac9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2db",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 219
  },
  "hsl": {
    "h": 275.122,
    "s": 36.283,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7973,
    "c": 0.06259,
    "h": 311.2
  },
  "luminance": 0.49512
}

Semantic roles & 50–950 ramp

primary
#CAB2DB
secondary
#E4ECDF
accent
#AF3668
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAB2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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