#CAB9EC#CAB9EC

#CAB9EC is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.7% C 0.073 H 300.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CAB9EC
RGBrgb(202, 185, 236)
HSLhsl(260, 57%, 83%)
HSVhsv(260, 22%, 93%)
CMYKcmyk(14.4%, 21.6%, 0%, 7.5%)
CIE-LABlab(78.06, 15.84, -23.16)
CIE-LCHlch(78.06, 28.06, 304.37°)
OKLaboklab(81.69% 0.0365 -0.0631)
OKLCHoklch(81.69% 0.073 300)
XYZxyz(56.8433, 53.3105, 86.6359)
Luminance0.5331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB9EC #DBECB9
analogous
#B9C2EC #CAB9EC #E3B9EC
triadic
#CAB9EC #ECCAB9 #B9ECCA
tetradic
#CAB9EC #ECB9C2 #DBECB9 #B9ECE3
square
#CAB9EC #ECB9C2 #DBECB9 #B9ECE3
split-complementary
#CAB9EC #ECE3B9 #C2ECB9
monochromatic
#8159D2 #A689DF #CAB9EC #EDE7F8 #EDE7F8

Accessibility & contrast

On white

1.80
#CAB9EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CAB9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB9EC
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB9EC#FFFFFF#000000##000000
##CAB9EC1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1EE
Deuteranopia (green-blind)
#B2C1EA
Tritanopia (blue-blind)
#C4C0CA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cab9ec;
/* rgb */ color: rgb(202, 185, 236);
/* oklch */ color: oklch(81.7% 0.073 300.0);
Tailwind
colors: {
  custom: {
    50: '#dacef2',
    500: '#cab9ec',
    950: '#000000',
  },
}
SCSS
$custom: #cab9ec;
$custom-light: #dacef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cab9ec",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 57.303,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.07291,
    "h": 300
  },
  "luminance": 0.53311
}

Semantic roles & 50–950 ramp

primary
#CAB9EC
secondary
#B1C980
accent
#C5218E
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CAB9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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