#CAB2DA#CAB2DA

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

Color values

HEX#CAB2DA
RGBrgb(202, 178, 218)
HSLhsl(276, 35%, 78%)
HSVhsv(276, 18%, 85%)
CMYKcmyk(7.3%, 18.3%, 0%, 14.5%)
CIE-LABlab(75.74, 15.95, -16.94)
CIE-LCHlch(75.74, 23.26, 313.27°)
OKLaboklab(79.69% 0.0409 -0.0457)
OKLCHoklch(79.69% 0.061 311.8)
XYZxyz(52.9303, 49.4597, 73.0743)
Luminance0.4946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2DA #C2DAB2
analogous
#B6B2DA #CAB2DA #DAB2D6
triadic
#CAB2DA #DACAB2 #B2DACA
tetradic
#CAB2DA #DAB6B2 #C2DAB2 #B2D6DA
square
#CAB2DA #DAB6B2 #C2DAB2 #B2D6DA
split-complementary
#CAB2DA #D6DAB2 #B2DAB6
monochromatic
#915FB2 #AE89C6 #CAB2DA #E6DBEE #F1EAF5

Accessibility & contrast

On white

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

On black

10.89
#CAB2DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2DA
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2DA#FFFFFF#000000##000000
##CAB2DA1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACB9DC
Deuteranopia (green-blind)
#B1BBD9
Tritanopia (blue-blind)
#C9B7BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cab2da;
/* rgb */ color: rgb(202, 178, 218);
/* oklch */ color: oklch(79.7% 0.061 311.8);
Tailwind
colors: {
  custom: {
    50: '#dac9e5',
    500: '#cab2da',
    950: '#000000',
  },
}
SCSS
$custom: #cab2da;
$custom-light: #dac9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2da",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 218
  },
  "hsl": {
    "h": 276,
    "s": 35.088,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79694,
    "c": 0.06135,
    "h": 311.8
  },
  "luminance": 0.49459
}

Semantic roles & 50–950 ramp

primary
#CAB2DA
secondary
#E4ECDF
accent
#AE3867
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#141315
muted
#838284

Preview Lab

Preview with #CAB2DA

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

Preview Lab → · Contrast checker → · Palette generator →

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