#CAB7EA#CAB7EA

#CAB7EA is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.2% C 0.074 H 301.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CAB7EA
RGBrgb(202, 183, 234)
HSLhsl(262, 55%, 82%)
HSVhsv(262, 22%, 92%)
CMYKcmyk(13.7%, 21.8%, 0%, 8.2%)
CIE-LABlab(77.50, 16.50, -22.93)
CIE-LCHlch(77.50, 28.25, 305.74°)
OKLaboklab(81.23% 0.0387 -0.0625)
OKLCHoklch(81.23% 0.074 301.8)
XYZxyz(56.1389, 52.3640, 84.9757)
Luminance0.5236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB7EA #D7EAB7
analogous
#B7BEEA #CAB7EA #E4B7EA
triadic
#CAB7EA #EACAB7 #B7EACA
tetradic
#CAB7EA #EAB7BE #D7EAB7 #B7EAE4
square
#CAB7EA #EAB7BE #D7EAB7 #B7EAE4
split-complementary
#CAB7EA #EAE4B7 #BEEAB7
monochromatic
#8458CE #A788DC #CAB7EA #EDE6F8 #EEE7F8

Accessibility & contrast

On white

1.83
#CAB7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CAB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB7EA
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB7EA#FFFFFF#000000##000000
##CAB7EA1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEC
Deuteranopia (green-blind)
#B1BFE8
Tritanopia (blue-blind)
#C5BEC8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cab7ea;
/* rgb */ color: rgb(202, 183, 234);
/* oklch */ color: oklch(81.2% 0.074 301.8);
Tailwind
colors: {
  custom: {
    50: '#daccf0',
    500: '#cab7ea',
    950: '#000000',
  },
}
SCSS
$custom: #cab7ea;
$custom-light: #daccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab7ea",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 262.353,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81233,
    "c": 0.07351,
    "h": 301.8
  },
  "luminance": 0.52364
}

Semantic roles & 50–950 ramp

primary
#CAB7EA
secondary
#ACC67F
accent
#C22387
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CAB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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