#CAB4E7#CAB4E7

#CAB4E7 is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.6% C 0.075 H 304.4°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CAB4E7
RGBrgb(202, 180, 231)
HSLhsl(266, 52%, 81%)
HSVhsv(266, 22%, 91%)
CMYKcmyk(12.6%, 22.1%, 0%, 9.4%)
CIE-LABlab(76.66, 17.51, -22.59)
CIE-LCHlch(76.66, 28.58, 307.78°)
OKLaboklab(80.55% 0.0421 -0.0615)
OKLCHoklch(80.55% 0.075 304.4)
XYZxyz(55.0994, 50.9687, 82.5210)
Luminance0.5097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB4E7 #D1E7B4
analogous
#B4B7E7 #CAB4E7 #E3B4E7
triadic
#CAB4E7 #E7CAB4 #B4E7CA
tetradic
#CAB4E7 #E7B4B7 #D1E7B4 #B4E7E3
square
#CAB4E7 #E7B4B7 #D1E7B4 #B4E7E3
split-complementary
#CAB4E7 #E7E3B4 #B7E7B4
monochromatic
#8857C9 #A986D8 #CAB4E7 #EBE2F6 #EFE8F8

Accessibility & contrast

On white

1.88
#CAB4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CAB4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB4E7
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB4E7#FFFFFF#000000##000000
##CAB4E71.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBCE9
Deuteranopia (green-blind)
#AFBDE5
Tritanopia (blue-blind)
#C6BBC5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cab4e7;
/* rgb */ color: rgb(202, 180, 231);
/* oklch */ color: oklch(80.6% 0.075 304.4);
Tailwind
colors: {
  custom: {
    50: '#dacaee',
    500: '#cab4e7',
    950: '#000000',
  },
}
SCSS
$custom: #cab4e7;
$custom-light: #dacaee;
$custom-dark: #000000;
JSON
{
  "hex": "#cab4e7",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 231
  },
  "hsl": {
    "h": 265.882,
    "s": 51.515,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80552,
    "c": 0.07452,
    "h": 304.4
  },
  "luminance": 0.50969
}

Semantic roles & 50–950 ramp

primary
#CAB4E7
secondary
#A4C27D
accent
#BF277D
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CAB4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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