#CAB2ED#CAB2ED

#CAB2ED is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.4% C 0.086 H 303.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CAB2ED
RGBrgb(202, 178, 237)
HSLhsl(264, 62%, 81%)
HSVhsv(264, 25%, 93%)
CMYKcmyk(14.8%, 24.9%, 0%, 7.1%)
CIE-LABlab(76.38, 19.87, -26.26)
CIE-LCHlch(76.38, 32.93, 307.11°)
OKLaboklab(80.41% 0.0468 -0.0718)
OKLCHoklch(80.41% 0.086 303.1)
XYZxyz(55.5606, 50.5118, 86.9270)
Luminance0.5051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2ED #D5EDB2
analogous
#B2B8ED #CAB2ED #E8B2ED
triadic
#CAB2ED #EDCAB2 #B2EDCA
tetradic
#CAB2ED #EDB2B8 #D5EDB2 #B2EDE8
square
#CAB2ED #EDB2B8 #D5EDB2 #B2EDE8
split-complementary
#CAB2ED #EDE8B2 #B8EDB2
monochromatic
#864FD6 #A880E1 #CAB2ED #ECE4F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.10
#CAB2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2ED
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2ED#FFFFFF#000000##000000
##CAB2ED1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BCEF
Deuteranopia (green-blind)
#ABBCEB
Tritanopia (blue-blind)
#C5BAC7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cab2ed;
/* rgb */ color: rgb(202, 178, 237);
/* oklch */ color: oklch(80.4% 0.086 303.1);
Tailwind
colors: {
  custom: {
    50: '#dac9f3',
    500: '#cab2ed',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ed;
$custom-light: #dac9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ed",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 237
  },
  "hsl": {
    "h": 264.407,
    "s": 62.105,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80407,
    "c": 0.08568,
    "h": 303.1
  },
  "luminance": 0.50512
}

Semantic roles & 50–950 ramp

primary
#CAB2ED
secondary
#A9CA79
accent
#CA1C83
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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