#CAA2FE#CAA2FE

#CAA2FE is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.2% C 0.134 H 303.4°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CAA2FE
RGBrgb(202, 162, 254)
HSLhsl(266, 98%, 82%)
HSVhsv(266, 36%, 100%)
CMYKcmyk(20.5%, 36.2%, 0%, 0.4%)
CIE-LABlab(73.25, 32.35, -40.28)
CIE-LCHlch(73.25, 51.66, 308.77°)
OKLaboklab(78.23% 0.0737 -0.1116)
OKLCHoklch(78.23% 0.134 303.4)
XYZxyz(55.1631, 45.5531, 99.6332)
Luminance0.4555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2FE #D6FEA2
analogous
#A2A8FE #CAA2FE #F8A2FE
triadic
#CAA2FE #FECAA2 #A2FECA
tetradic
#CAA2FE #FEA2A8 #D6FEA2 #A2FEF8
square
#CAA2FE #FEA2A8 #D6FEA2 #A2FEF8
split-complementary
#CAA2FE #FEF8A2 #A8FEA2
monochromatic
#8529FD #A765FD #CAA2FE #EDDFFF #EEE1FF

Accessibility & contrast

On white

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

On black

10.11
#CAA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2FE
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2FE#FFFFFF#000000##000000
##CAA2FE1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#C2B0C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa2fe;
/* rgb */ color: rgb(202, 162, 254);
/* oklch */ color: oklch(78.2% 0.134 303.4);
Tailwind
colors: {
  custom: {
    50: '#dbbeff',
    500: '#caa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa2fe;
$custom-light: #dbbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2fe",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 266.087,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78229,
    "c": 0.13379,
    "h": 303.4
  },
  "luminance": 0.45553
}

Semantic roles & 50–950 ramp

primary
#CAA2FE
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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