#CAB8EA#CAB8EA

#CAB8EA is a light, moderate violet. Relative luminance 0.528; OKLCH L 81.4% C 0.072 H 301.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CAB8EA
RGBrgb(202, 184, 234)
HSLhsl(262, 54%, 82%)
HSVhsv(262, 21%, 92%)
CMYKcmyk(13.7%, 21.4%, 0%, 8.2%)
CIE-LABlab(77.74, 15.96, -22.56)
CIE-LCHlch(77.74, 27.63, 305.28°)
OKLaboklab(81.42% 0.0373 -0.0614)
OKLCHoklch(81.42% 0.072 301.3)
XYZxyz(56.3459, 52.7780, 85.0447)
Luminance0.5278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB8EA #D8EAB8
analogous
#B8BFEA #CAB8EA #E3B8EA
triadic
#CAB8EA #EACAB8 #B8EACA
tetradic
#CAB8EA #EAB8BF #D8EAB8 #B8EAE3
square
#CAB8EA #EAB8BF #D8EAB8 #B8EAE3
split-complementary
#CAB8EA #EAE3B8 #BFEAB8
monochromatic
#835ACE #A789DC #CAB8EA #EDE7F8 #EDE7F8

Accessibility & contrast

On white

1.82
#CAB8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CAB8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB8EA
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB8EA#FFFFFF#000000##000000
##CAB8EA1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC0EC
Deuteranopia (green-blind)
#B1C0E8
Tritanopia (blue-blind)
#C5BFC9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cab8ea;
/* rgb */ color: rgb(202, 184, 234);
/* oklch */ color: oklch(81.4% 0.072 301.3);
Tailwind
colors: {
  custom: {
    50: '#dacdf0',
    500: '#cab8ea',
    950: '#000000',
  },
}
SCSS
$custom: #cab8ea;
$custom-light: #dacdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab8ea",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 261.6,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81424,
    "c": 0.07187,
    "h": 301.3
  },
  "luminance": 0.52778
}

Semantic roles & 50–950 ramp

primary
#CAB8EA
secondary
#ADC680
accent
#C22489
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CAB8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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