#CAA1FD#CAA1FD

#CAA1FD is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.0% C 0.134 H 303.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CAA1FD
RGBrgb(202, 161, 253)
HSLhsl(267, 96%, 81%)
HSVhsv(267, 36%, 99%)
CMYKcmyk(20.2%, 36.4%, 0%, 0.8%)
CIE-LABlab(72.98, 32.67, -40.16)
CIE-LCHlch(72.98, 51.78, 309.13°)
OKLaboklab(78.01% 0.0749 -0.1113)
OKLCHoklch(78.01% 0.134 303.9)
XYZxyz(54.8280, 45.1383, 98.7336)
Luminance0.4514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1FD #D4FDA1
analogous
#A1A6FD #CAA1FD #F8A1FD
triadic
#CAA1FD #FDCAA1 #A1FDCA
tetradic
#CAA1FD #FDA1A6 #D4FDA1 #A1FDF8
square
#CAA1FD #FDA1A6 #D4FDA1 #A1FDF8
split-complementary
#CAA1FD #FDF8A1 #A6FDA1
monochromatic
#8629FA #A865FC #CAA1FD #ECDDFE #EEE1FE

Accessibility & contrast

On white

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

On black

10.03
#CAA1FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1FD
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1FD#FFFFFF#000000##000000
##CAA1FD1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#C2AFC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa1fd;
/* rgb */ color: rgb(202, 161, 253);
/* oklch */ color: oklch(78.0% 0.134 303.9);
Tailwind
colors: {
  custom: {
    50: '#dbbdfe',
    500: '#caa1fd',
    950: '#000000',
  },
}
SCSS
$custom: #caa1fd;
$custom-light: #dbbdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1fd",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 253
  },
  "hsl": {
    "h": 266.739,
    "s": 95.833,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78009,
    "c": 0.13414,
    "h": 303.9
  },
  "luminance": 0.45138
}

Semantic roles & 50–950 ramp

primary
#CAA1FD
secondary
#E7F7D4
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA1FD

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

Preview Lab → · Contrast checker → · Palette generator →

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