#CAABFF#CAABFF

#CAABFF is a light, vivid violet. Relative luminance 0.489; OKLCH L 79.9% C 0.121 H 300.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CAABFF
RGBrgb(202, 171, 255)
HSLhsl(262, 100%, 84%)
HSVhsv(262, 33%, 100%)
CMYKcmyk(20.8%, 32.9%, 0%, 0%)
CIE-LABlab(75.39, 27.64, -37.50)
CIE-LCHlch(75.39, 46.58, 306.39°)
OKLaboklab(79.87% 0.0615 -0.1037)
OKLCHoklch(79.87% 0.121 300.7)
XYZxyz(56.9661, 48.9022, 101.0263)
Luminance0.4890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAABFF #E0FFAB
analogous
#ABB6FF #CAABFF #F4ABFF
triadic
#CAABFF #FFCAAB #ABFFCA
tetradic
#CAABFF #FFABB6 #E0FFAB #ABFFF4
square
#CAABFF #FFABB6 #E0FFAB #ABFFF4
split-complementary
#CAABFF #FFF4AB #B6FFAB
monochromatic
#7D31FF #A36EFF #CAABFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.95
#CAABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CAABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAABFF
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAABFF#FFFFFF#000000##000000
##CAABFF1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#C1B8CA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #caabff;
/* rgb */ color: rgb(202, 171, 255);
/* oklch */ color: oklch(79.9% 0.121 300.7);
Tailwind
colors: {
  custom: {
    50: '#dbc4ff',
    500: '#caabff',
    950: '#000000',
  },
}
SCSS
$custom: #caabff;
$custom-light: #dbc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caabff",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 262.143,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.12054,
    "h": 300.7
  },
  "luminance": 0.48902
}

Semantic roles & 50–950 ramp

primary
#CAABFF
secondary
#EAF7D4
accent
#E60091
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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