#CAA5EA#CAA5EA

#CAA5EA is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.9% C 0.104 H 308.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CAA5EA
RGBrgb(202, 165, 234)
HSLhsl(272, 62%, 78%)
HSVhsv(272, 29%, 92%)
CMYKcmyk(13.7%, 29.5%, 0%, 8.2%)
CIE-LABlab(73.16, 26.36, -29.57)
CIE-LCHlch(73.16, 39.61, 311.71°)
OKLaboklab(77.9% 0.0647 -0.0811)
OKLCHoklch(77.9% 0.104 308.6)
XYZxyz(52.6608, 45.4078, 83.8163)
Luminance0.4541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5EA #C5EAA5
analogous
#A7A5EA #CAA5EA #EAA5E7
triadic
#CAA5EA #EACAA5 #A5EACA
tetradic
#CAA5EA #EAA7A5 #C5EAA5 #A5E7EA
square
#CAA5EA #EAA7A5 #C5EAA5 #A5E7EA
split-complementary
#CAA5EA #E7EAA5 #A5EAA7
monochromatic
#9042D3 #AD73DE #CAA5EA #E7D7F6 #F0E6F9

Accessibility & contrast

On white

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

On black

10.08
#CAA5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5EA
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5EA#FFFFFF#000000##000000
##CAA5EA1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#C6AEBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa5ea;
/* rgb */ color: rgb(202, 165, 234);
/* oklch */ color: oklch(77.9% 0.104 308.6);
Tailwind
colors: {
  custom: {
    50: '#dbc0f1',
    500: '#caa5ea',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ea;
$custom-light: #dbc0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ea",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 272.174,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77895,
    "c": 0.10369,
    "h": 308.6
  },
  "luminance": 0.45407
}

Semantic roles & 50–950 ramp

primary
#CAA5EA
secondary
#E5F1DA
accent
#CA1C6C
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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