#CAB9E8#CAB9E8

#CAB9E8 is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.5% C 0.068 H 301.4°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CAB9E8
RGBrgb(202, 185, 232)
HSLhsl(262, 51%, 82%)
HSVhsv(262, 20%, 91%)
CMYKcmyk(12.9%, 20.3%, 0%, 9%)
CIE-LABlab(77.92, 15.00, -21.21)
CIE-LCHlch(77.92, 25.98, 305.26°)
OKLaboklab(81.54% 0.0352 -0.0577)
OKLCHoklch(81.54% 0.068 301.4)
XYZxyz(56.2687, 53.0806, 83.6095)
Luminance0.5308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB9E8 #D7E8B9
analogous
#B9C0E8 #CAB9E8 #E2B9E8
triadic
#CAB9E8 #E8CAB9 #B9E8CA
tetradic
#CAB9E8 #E8B9C0 #D7E8B9 #B9E8E2
square
#CAB9E8 #E8B9C0 #D7E8B9 #B9E8E2
split-complementary
#CAB9E8 #E8E2B9 #C0E8B9
monochromatic
#845DCA #A78BD9 #CAB9E8 #EDE7F7 #EEE8F7

Accessibility & contrast

On white

1.81
#CAB9E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CAB9E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB9E8
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB9E8#FFFFFF#000000##000000
##CAB9E81.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C0EA
Deuteranopia (green-blind)
#B3C0E7
Tritanopia (blue-blind)
#C5C0C9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cab9e8;
/* rgb */ color: rgb(202, 185, 232);
/* oklch */ color: oklch(81.5% 0.068 301.4);
Tailwind
colors: {
  custom: {
    50: '#daceef',
    500: '#cab9e8',
    950: '#000000',
  },
}
SCSS
$custom: #cab9e8;
$custom-light: #daceef;
$custom-dark: #000000;
JSON
{
  "hex": "#cab9e8",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 232
  },
  "hsl": {
    "h": 261.702,
    "s": 50.538,
    "l": 81.765
  },
  "oklch": {
    "l": 0.8154,
    "c": 0.06758,
    "h": 301.4
  },
  "luminance": 0.53081
}

Semantic roles & 50–950 ramp

primary
#CAB9E8
secondary
#ACC382
accent
#BE2888
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CAB9E8

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

Preview Lab → · Contrast checker → · Palette generator →

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