#CAB5DF#CAB5DF

#CAB5DF is a light, moderate violet. Relative luminance 0.509; OKLCH L 80.4% C 0.062 H 307.6°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CAB5DF
RGBrgb(202, 181, 223)
HSLhsl(270, 40%, 79%)
HSVhsv(270, 19%, 87%)
CMYKcmyk(9.4%, 18.8%, 0%, 12.5%)
CIE-LABlab(76.64, 15.32, -18.29)
CIE-LCHlch(76.64, 23.86, 309.95°)
OKLaboklab(80.45% 0.0381 -0.0495)
OKLCHoklch(80.45% 0.062 307.6)
XYZxyz(54.1979, 50.9323, 76.7734)
Luminance0.5093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB5DF #CADFB5
analogous
#B5B5DF #CAB5DF #DFB5DF
triadic
#CAB5DF #DFCAB5 #B5DFCA
tetradic
#CAB5DF #DFB5B5 #CADFB5 #B5DFDF
square
#CAB5DF #DFB5B5 #CADFB5 #B5DFDF
split-complementary
#CAB5DF #DFDFB5 #B5DFB5
monochromatic
#8D60BA #AB8ACD #CAB5DF #E9E0F1 #F0EAF6

Accessibility & contrast

On white

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

On black

11.19
#CAB5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB5DF
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB5DF#FFFFFF#000000##000000
##CAB5DF1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEBCE1
Deuteranopia (green-blind)
#B2BDDE
Tritanopia (blue-blind)
#C7BAC3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cab5df;
/* rgb */ color: rgb(202, 181, 223);
/* oklch */ color: oklch(80.4% 0.062 307.6);
Tailwind
colors: {
  custom: {
    50: '#dacbe9',
    500: '#cab5df',
    950: '#000000',
  },
}
SCSS
$custom: #cab5df;
$custom-light: #dacbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cab5df",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 39.623,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80446,
    "c": 0.06249,
    "h": 307.6
  },
  "luminance": 0.50932
}

Semantic roles & 50–950 ramp

primary
#CAB5DF
secondary
#9CB881
accent
#B33373
background
#FEFDFE
surface
#FBF9FC
border
#D4D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CAB5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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