#CAB7CC#CAB7CC

#CAB7CC is a light, muted purple. Relative luminance 0.508; OKLCH L 80.2% C 0.036 H 323.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#CAB7CC
RGBrgb(202, 183, 204)
HSLhsl(294, 17%, 76%)
HSVhsv(294, 10%, 80%)
CMYKcmyk(1%, 10.3%, 0%, 20%)
CIE-LABlab(76.55, 10.52, -8.12)
CIE-LCHlch(76.55, 13.29, 322.35°)
OKLaboklab(80.18% 0.0286 -0.0216)
OKLCHoklch(80.18% 0.036 323)
XYZxyz(52.1881, 50.7837, 64.1680)
Luminance0.5078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB7CC #B9CCB7
analogous
#BFB7CC #CAB7CC #CCB7C3
triadic
#CAB7CC #CCCAB7 #B7CCCA
tetradic
#CAB7CC #CCBFB7 #B9CCB7 #B7C3CC
square
#CAB7CC #CCBFB7 #B9CCB7 #B7C3CC
split-complementary
#CAB7CC #C3CCB7 #B7CCBF
monochromatic
#956F99 #B093B3 #CAB7CC #E4DBE5 #F2EDF2

Accessibility & contrast

On white

1.88
#CAB7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#CAB7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB7CC
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB7CC#FFFFFF#000000##000000
##CAB7CC1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5BBCD
Deuteranopia (green-blind)
#B9BECB
Tritanopia (blue-blind)
#CBB9BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cab7cc;
/* rgb */ color: rgb(202, 183, 204);
/* oklch */ color: oklch(80.2% 0.036 323.0);
Tailwind
colors: {
  custom: {
    50: '#daccdb',
    500: '#cab7cc',
    950: '#000000',
  },
}
SCSS
$custom: #cab7cc;
$custom-light: #daccdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cab7cc",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 204
  },
  "hsl": {
    "h": 294.286,
    "s": 17.073,
    "l": 75.882
  },
  "oklch": {
    "l": 0.80182,
    "c": 0.03588,
    "h": 323
  },
  "luminance": 0.50783
}

Semantic roles & 50–950 ramp

primary
#CAB7CC
secondary
#89A087
accent
#9B4A52
background
#FEFEFE
surface
#FBFAFB
border
#D4D3D4
text
#141315
muted
#838384

Preview Lab

Preview with #CAB7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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