#CAA5FF#CAA5FF

#CAA5FF is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.8% C 0.130 H 302.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CAA5FF
RGBrgb(202, 165, 255)
HSLhsl(265, 100%, 82%)
HSVhsv(265, 35%, 100%)
CMYKcmyk(20.8%, 35.3%, 0%, 0%)
CIE-LABlab(73.99, 30.93, -39.68)
CIE-LCHlch(73.99, 50.31, 307.94°)
OKLaboklab(78.8% 0.0698 -0.1099)
OKLCHoklch(78.8% 0.13 302.4)
XYZxyz(55.8584, 46.6868, 100.6571)
Luminance0.4669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5FF #DAFFA5
analogous
#A5ADFF #CAA5FF #F7A5FF
triadic
#CAA5FF #FFCAA5 #A5FFCA
tetradic
#CAA5FF #FFA5AD #DAFFA5 #A5FFF7
square
#CAA5FF #FFA5AD #DAFFA5 #A5FFF7
split-complementary
#CAA5FF #FFF7A5 #ADFFA5
monochromatic
#822BFF #A668FF #CAA5FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

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

On black

10.34
#CAA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5FF
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5FF#FFFFFF#000000##000000
##CAA5FF1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caa5ff;
/* rgb */ color: rgb(202, 165, 255);
/* oklch */ color: oklch(78.8% 0.130 302.4);
Tailwind
colors: {
  custom: {
    50: '#dbc0ff',
    500: '#caa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ff;
$custom-light: #dbc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ff",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 264.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.78801,
    "c": 0.13019,
    "h": 302.4
  },
  "luminance": 0.46687
}

Semantic roles & 50–950 ramp

primary
#CAA5FF
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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