#CAA2FD#CAA2FD

#CAA2FD is a light, vivid violet. Relative luminance 0.455; OKLCH L 78.2% C 0.133 H 303.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAA2FD
RGBrgb(202, 162, 253)
HSLhsl(266, 96%, 81%)
HSVhsv(266, 36%, 99%)
CMYKcmyk(20.2%, 36%, 0%, 0.8%)
CIE-LABlab(73.21, 32.13, -39.80)
CIE-LCHlch(73.21, 51.15, 308.91°)
OKLaboklab(78.18% 0.0735 -0.1103)
OKLCHoklch(78.18% 0.133 303.7)
XYZxyz(55.0034, 45.4892, 98.7921)
Luminance0.4549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2FD #D5FDA2
analogous
#A2A8FD #CAA2FD #F8A2FD
triadic
#CAA2FD #FDCAA2 #A2FDCA
tetradic
#CAA2FD #FDA2A8 #D5FDA2 #A2FDF8
square
#CAA2FD #FDA2A8 #D5FDA2 #A2FDF8
split-complementary
#CAA2FD #FDF8A2 #A8FDA2
monochromatic
#862AFA #A866FC #CAA2FD #ECDEFE #EEE1FE

Accessibility & contrast

On white

2.08
#CAA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CAA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2FD
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2FD#FFFFFF#000000##000000
##CAA2FD1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#C2B0C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa2fd;
/* rgb */ color: rgb(202, 162, 253);
/* oklch */ color: oklch(78.2% 0.133 303.7);
Tailwind
colors: {
  custom: {
    50: '#dbbefe',
    500: '#caa2fd',
    950: '#000000',
  },
}
SCSS
$custom: #caa2fd;
$custom-light: #dbbefe;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2fd",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 266.374,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78183,
    "c": 0.13252,
    "h": 303.7
  },
  "luminance": 0.45489
}

Semantic roles & 50–950 ramp

primary
#CAA2FD
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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