#CAA1FE#CAA1FE

#CAA1FE is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.135 H 303.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CAA1FE
RGBrgb(202, 161, 254)
HSLhsl(266, 98%, 81%)
HSVhsv(266, 37%, 100%)
CMYKcmyk(20.5%, 36.6%, 0%, 0.4%)
CIE-LABlab(73.02, 32.90, -40.64)
CIE-LCHlch(73.02, 52.29, 308.99°)
OKLaboklab(78.05% 0.0751 -0.1126)
OKLCHoklch(78.05% 0.135 303.7)
XYZxyz(54.9877, 45.2022, 99.5747)
Luminance0.4520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1FE #D5FEA1
analogous
#A1A7FE #CAA1FE #F9A1FE
triadic
#CAA1FE #FECAA1 #A1FECA
tetradic
#CAA1FE #FEA1A7 #D5FEA1 #A1FEF9
square
#CAA1FE #FEA1A7 #D5FEA1 #A1FEF9
split-complementary
#CAA1FE #FEF9A1 #A7FEA1
monochromatic
#8628FD #A864FD #CAA1FE #ECDEFF #EEE1FF

Accessibility & contrast

On white

2.09
#CAA1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CAA1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1FE
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1FE#FFFFFF#000000##000000
##CAA1FE1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#C2B0C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa1fe;
/* rgb */ color: rgb(202, 161, 254);
/* oklch */ color: oklch(78.1% 0.135 303.7);
Tailwind
colors: {
  custom: {
    50: '#dbbdff',
    500: '#caa1fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa1fe;
$custom-light: #dbbdff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1fe",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 266.452,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78054,
    "c": 0.13541,
    "h": 303.7
  },
  "luminance": 0.45202
}

Semantic roles & 50–950 ramp

primary
#CAA1FE
secondary
#E8F7D4
accent
#E60080
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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