#CAB2EE#CAB2EE

#CAB2EE is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.4% C 0.087 H 302.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CAB2EE
RGBrgb(202, 178, 238)
HSLhsl(264, 64%, 82%)
HSVhsv(264, 25%, 93%)
CMYKcmyk(15.1%, 25.2%, 0%, 6.7%)
CIE-LABlab(76.42, 20.08, -26.74)
CIE-LCHlch(76.42, 33.44, 306.90°)
OKLaboklab(80.45% 0.0471 -0.0731)
OKLCHoklch(80.45% 0.087 302.8)
XYZxyz(55.7071, 50.5704, 87.6986)
Luminance0.5057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2EE #D6EEB2
analogous
#B2B8EE #CAB2EE #E8B2EE
triadic
#CAB2EE #EECAB2 #B2EECA
tetradic
#CAB2EE #EEB2B8 #D6EEB2 #B2EEE8
square
#CAB2EE #EEB2B8 #D6EEB2 #B2EEE8
split-complementary
#CAB2EE #EEE8B2 #B8EEB2
monochromatic
#854ED8 #A780E3 #CAB2EE #EDE4F9 #EEE6F9

Accessibility & contrast

On white

1.89
#CAB2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CAB2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2EE
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2EE#FFFFFF#000000##000000
##CAB2EE1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BCF1
Deuteranopia (green-blind)
#ABBCEC
Tritanopia (blue-blind)
#C4BBC7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cab2ee;
/* rgb */ color: rgb(202, 178, 238);
/* oklch */ color: oklch(80.4% 0.087 302.8);
Tailwind
colors: {
  custom: {
    50: '#dac9f3',
    500: '#cab2ee',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ee;
$custom-light: #dac9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ee",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 238
  },
  "hsl": {
    "h": 264,
    "s": 63.83,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80446,
    "c": 0.08699,
    "h": 302.8
  },
  "luminance": 0.5057
}

Semantic roles & 50–950 ramp

primary
#CAB2EE
secondary
#AACC79
accent
#CC1A85
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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