#CAB9ED#CAB9ED

#CAB9ED is a light, moderate violet. Relative luminance 0.534; OKLCH L 81.7% C 0.074 H 299.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAB9ED
RGBrgb(202, 185, 237)
HSLhsl(260, 59%, 83%)
HSVhsv(260, 22%, 93%)
CMYKcmyk(14.8%, 21.9%, 0%, 7.1%)
CIE-LABlab(78.09, 16.05, -23.65)
CIE-LCHlch(78.09, 28.58, 304.17°)
OKLaboklab(81.73% 0.0368 -0.0645)
OKLCHoklch(81.73% 0.074 299.7)
XYZxyz(56.9890, 53.3688, 87.4032)
Luminance0.5337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB9ED #DCEDB9
analogous
#B9C2ED #CAB9ED #E4B9ED
triadic
#CAB9ED #EDCAB9 #B9EDCA
tetradic
#CAB9ED #EDB9C2 #DCEDB9 #B9EDE4
square
#CAB9ED #EDB9C2 #DCEDB9 #B9EDE4
split-complementary
#CAB9ED #EDE4B9 #C2EDB9
monochromatic
#8058D4 #A588E0 #CAB9ED #EDE7F9 #EDE7F9

Accessibility & contrast

On white

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

On black

11.67
#CAB9ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB9ED
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB9ED#FFFFFF#000000##000000
##CAB9ED1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1EF
Deuteranopia (green-blind)
#B1C1EB
Tritanopia (blue-blind)
#C4C1CB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cab9ed;
/* rgb */ color: rgb(202, 185, 237);
/* oklch */ color: oklch(81.7% 0.074 299.7);
Tailwind
colors: {
  custom: {
    50: '#dacef3',
    500: '#cab9ed',
    950: '#000000',
  },
}
SCSS
$custom: #cab9ed;
$custom-light: #dacef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cab9ed",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 237
  },
  "hsl": {
    "h": 259.615,
    "s": 59.091,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81727,
    "c": 0.07425,
    "h": 299.7
  },
  "luminance": 0.53369
}

Semantic roles & 50–950 ramp

primary
#CAB9ED
secondary
#B2CA80
accent
#C71F90
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CAB9ED

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

Preview Lab → · Contrast checker → · Palette generator →

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