#CAA5FD#CAA5FD

#CAA5FD is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.7% C 0.128 H 302.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CAA5FD
RGBrgb(202, 165, 253)
HSLhsl(265, 96%, 82%)
HSVhsv(265, 35%, 99%)
CMYKcmyk(20.2%, 34.8%, 0%, 0.8%)
CIE-LABlab(73.91, 30.48, -38.73)
CIE-LCHlch(73.91, 49.28, 308.21°)
OKLaboklab(78.71% 0.0694 -0.1072)
OKLCHoklch(78.71% 0.128 302.9)
XYZxyz(55.5382, 46.5587, 98.9703)
Luminance0.4656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5FD #D8FDA5
analogous
#A5ACFD #CAA5FD #F6A5FD
triadic
#CAA5FD #FDCAA5 #A5FDCA
tetradic
#CAA5FD #FDA5AC #D8FDA5 #A5FDF6
square
#CAA5FD #FDA5AC #D8FDA5 #A5FDF6
split-complementary
#CAA5FD #FDF6A5 #ACFDA5
monochromatic
#832DFA #A769FC #CAA5FD #EDE1FE #EDE1FE

Accessibility & contrast

On white

2.04
#CAA5FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CAA5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5FD
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5FD#FFFFFF#000000##000000
##CAA5FD1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#C2B3C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa5fd;
/* rgb */ color: rgb(202, 165, 253);
/* oklch */ color: oklch(78.7% 0.128 302.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0fe',
    500: '#caa5fd',
    950: '#000000',
  },
}
SCSS
$custom: #caa5fd;
$custom-light: #dbc0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5fd",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 265.227,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78711,
    "c": 0.12765,
    "h": 302.9
  },
  "luminance": 0.46559
}

Semantic roles & 50–950 ramp

primary
#CAA5FD
secondary
#E8F7D4
accent
#E60085
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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