#CAB4EA#CAB4EA

#CAB4EA is a light, moderate violet. Relative luminance 0.511; OKLCH L 80.7% C 0.078 H 303.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CAB4EA
RGBrgb(202, 180, 234)
HSLhsl(264, 56%, 81%)
HSVhsv(264, 23%, 92%)
CMYKcmyk(13.7%, 23.1%, 0%, 8.2%)
CIE-LABlab(76.76, 18.14, -24.05)
CIE-LCHlch(76.76, 30.13, 307.02°)
OKLaboklab(80.67% 0.043 -0.0656)
OKLCHoklch(80.67% 0.078 303.3)
XYZxyz(55.5268, 51.1397, 84.7716)
Luminance0.5114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB4EA #D4EAB4
analogous
#B4B9EA #CAB4EA #E5B4EA
triadic
#CAB4EA #EACAB4 #B4EACA
tetradic
#CAB4EA #EAB4B9 #D4EAB4 #B4EAE5
square
#CAB4EA #EAB4B9 #D4EAB4 #B4EAE5
split-complementary
#CAB4EA #EAE5B4 #B9EAB4
monochromatic
#8654CF #A884DD #CAB4EA #ECE4F7 #EEE7F8

Accessibility & contrast

On white

1.87
#CAB4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CAB4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB4EA
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB4EA#FFFFFF#000000##000000
##CAB4EA1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABDEC
Deuteranopia (green-blind)
#AEBDE8
Tritanopia (blue-blind)
#C5BCC7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cab4ea;
/* rgb */ color: rgb(202, 180, 234);
/* oklch */ color: oklch(80.7% 0.078 303.3);
Tailwind
colors: {
  custom: {
    50: '#dacaf0',
    500: '#cab4ea',
    950: '#000000',
  },
}
SCSS
$custom: #cab4ea;
$custom-light: #dacaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab4ea",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 234
  },
  "hsl": {
    "h": 264.444,
    "s": 56.25,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.07845,
    "h": 303.3
  },
  "luminance": 0.5114
}

Semantic roles & 50–950 ramp

primary
#CAB4EA
secondary
#A8C67C
accent
#C42282
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CAB4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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