#CAB7ED#CAB7ED

#CAB7ED is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.3% C 0.077 H 300.8°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CAB7ED
RGBrgb(202, 183, 237)
HSLhsl(261, 60%, 82%)
HSVhsv(261, 23%, 93%)
CMYKcmyk(14.8%, 22.8%, 0%, 7.1%)
CIE-LABlab(77.60, 17.14, -24.39)
CIE-LCHlch(77.60, 29.81, 305.09°)
OKLaboklab(81.35% 0.0397 -0.0666)
OKLCHoklch(81.35% 0.077 300.8)
XYZxyz(56.5736, 52.5379, 87.2647)
Luminance0.5254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB7ED #DAEDB7
analogous
#B7BFED #CAB7ED #E5B7ED
triadic
#CAB7ED #EDCAB7 #B7EDCA
tetradic
#CAB7ED #EDB7BF #DAEDB7 #B7EDE5
square
#CAB7ED #EDB7BF #DAEDB7 #B7EDE5
split-complementary
#CAB7ED #EDE5B7 #BFEDB7
monochromatic
#8255D5 #A686E1 #CAB7ED #EDE7F9 #EDE7F9

Accessibility & contrast

On white

1.82
#CAB7ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CAB7ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB7ED
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB7ED#FFFFFF#000000##000000
##CAB7ED1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBFEF
Deuteranopia (green-blind)
#B0BFEB
Tritanopia (blue-blind)
#C4BFCA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cab7ed;
/* rgb */ color: rgb(202, 183, 237);
/* oklch */ color: oklch(81.3% 0.077 300.8);
Tailwind
colors: {
  custom: {
    50: '#daccf3',
    500: '#cab7ed',
    950: '#000000',
  },
}
SCSS
$custom: #cab7ed;
$custom-light: #daccf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cab7ed",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 237
  },
  "hsl": {
    "h": 261.111,
    "s": 60,
    "l": 82.353
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.07748,
    "h": 300.8
  },
  "luminance": 0.52538
}

Semantic roles & 50–950 ramp

primary
#CAB7ED
secondary
#AFCA7E
accent
#C81E8C
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CAB7ED

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

Preview Lab → · Contrast checker → · Palette generator →

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