#CAA5FE#CAA5FE

#CAA5FE is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.8% C 0.129 H 302.7°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CAA5FE
RGBrgb(202, 165, 254)
HSLhsl(265, 98%, 82%)
HSVhsv(265, 35%, 100%)
CMYKcmyk(20.5%, 35%, 0%, 0.4%)
CIE-LABlab(73.95, 30.71, -39.20)
CIE-LCHlch(73.95, 49.80, 308.07°)
OKLaboklab(78.76% 0.0696 -0.1085)
OKLCHoklch(78.76% 0.129 302.7)
XYZxyz(55.6979, 46.6226, 99.8115)
Luminance0.4662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5FE #D9FEA5
analogous
#A5ADFE #CAA5FE #F7A5FE
triadic
#CAA5FE #FECAA5 #A5FECA
tetradic
#CAA5FE #FEA5AD #D9FEA5 #A5FEF7
square
#CAA5FE #FEA5AD #D9FEA5 #A5FEF7
split-complementary
#CAA5FE #FEF7A5 #ADFEA5
monochromatic
#832CFD #A668FD #CAA5FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

2.03
#CAA5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CAA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5FE
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5FE#FFFFFF#000000##000000
##CAA5FE1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#98B6FC
Tritanopia (blue-blind)
#C1B3C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa5fe;
/* rgb */ color: rgb(202, 165, 254);
/* oklch */ color: oklch(78.8% 0.129 302.7);
Tailwind
colors: {
  custom: {
    50: '#dbc0ff',
    500: '#caa5fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa5fe;
$custom-light: #dbc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5fe",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 264.944,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.12893,
    "h": 302.7
  },
  "luminance": 0.46623
}

Semantic roles & 50–950 ramp

primary
#CAA5FE
secondary
#E8F7D4
accent
#E60086
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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