#CAB5EA#CAB5EA

#CAB5EA is a light, moderate violet. Relative luminance 0.515; OKLCH L 80.9% C 0.077 H 302.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CAB5EA
RGBrgb(202, 181, 234)
HSLhsl(264, 56%, 81%)
HSVhsv(264, 23%, 92%)
CMYKcmyk(13.7%, 22.6%, 0%, 8.2%)
CIE-LABlab(77.01, 17.59, -23.68)
CIE-LCHlch(77.01, 29.50, 306.61°)
OKLaboklab(80.86% 0.0416 -0.0645)
OKLCHoklch(80.86% 0.077 302.8)
XYZxyz(55.7294, 51.5449, 84.8392)
Luminance0.5154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB5EA #D5EAB5
analogous
#B5BBEA #CAB5EA #E5B5EA
triadic
#CAB5EA #EACAB5 #B5EACA
tetradic
#CAB5EA #EAB5BB #D5EAB5 #B5EAE5
square
#CAB5EA #EAB5BB #D5EAB5 #B5EAE5
split-complementary
#CAB5EA #EAE5B5 #BBEAB5
monochromatic
#8656CF #A885DC #CAB5EA #ECE5F8 #EEE7F8

Accessibility & contrast

On white

1.86
#CAB5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CAB5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB5EA
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB5EA#FFFFFF#000000##000000
##CAB5EA1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBEEC
Deuteranopia (green-blind)
#AFBEE8
Tritanopia (blue-blind)
#C5BCC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab5ea;
/* rgb */ color: rgb(202, 181, 234);
/* oklch */ color: oklch(80.9% 0.077 302.8);
Tailwind
colors: {
  custom: {
    50: '#dacbf0',
    500: '#cab5ea',
    950: '#000000',
  },
}
SCSS
$custom: #cab5ea;
$custom-light: #dacbf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab5ea",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 234
  },
  "hsl": {
    "h": 263.774,
    "s": 55.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.0768,
    "h": 302.8
  },
  "luminance": 0.51545
}

Semantic roles & 50–950 ramp

primary
#CAB5EA
secondary
#A9C67D
accent
#C32283
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CAB5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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