#CAABFE#CAABFE

#CAABFE is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.8% C 0.119 H 300.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CAABFE
RGBrgb(202, 171, 254)
HSLhsl(262, 98%, 83%)
HSVhsv(262, 33%, 100%)
CMYKcmyk(20.5%, 32.7%, 0%, 0.4%)
CIE-LABlab(75.35, 27.41, -37.02)
CIE-LCHlch(75.35, 46.07, 306.52°)
OKLaboklab(79.83% 0.0612 -0.1023)
OKLCHoklch(79.83% 0.119 300.9)
XYZxyz(56.8056, 48.8380, 100.1807)
Luminance0.4884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAABFE #DFFEAB
analogous
#ABB5FE #CAABFE #F4ABFE
triadic
#CAABFE #FECAAB #ABFECA
tetradic
#CAABFE #FEABB5 #DFFEAB #ABFEF4
square
#CAABFE #FEABB5 #DFFEAB #ABFEF4
split-complementary
#CAABFE #FEF4AB #B5FEAB
monochromatic
#7E32FD #A46FFD #CAABFE #ECE1FF #ECE1FF

Accessibility & contrast

On white

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

On black

10.77
#CAABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAABFE
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAABFE#FFFFFF#000000##000000
##CAABFE1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caabfe;
/* rgb */ color: rgb(202, 171, 254);
/* oklch */ color: oklch(79.8% 0.119 300.9);
Tailwind
colors: {
  custom: {
    50: '#dbc4ff',
    500: '#caabfe',
    950: '#000000',
  },
}
SCSS
$custom: #caabfe;
$custom-light: #dbc4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caabfe",
  "rgb": {
    "r": 202,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 262.41,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.11925,
    "h": 300.9
  },
  "luminance": 0.48838
}

Semantic roles & 50–950 ramp

primary
#CAABFE
secondary
#EAF7D4
accent
#E60090
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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