#CAA2E5#CAA2E5

#CAA2E5 is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.1% C 0.103 H 311.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CAA2E5
RGBrgb(202, 162, 229)
HSLhsl(276, 56%, 77%)
HSVhsv(276, 29%, 90%)
CMYKcmyk(11.8%, 29.3%, 0%, 10.2%)
CIE-LABlab(72.27, 26.95, -28.22)
CIE-LCHlch(72.27, 39.02, 313.68°)
OKLaboklab(77.15% 0.0677 -0.0772)
OKLCHoklch(77.15% 0.103 311.2)
XYZxyz(51.4179, 44.0550, 79.9083)
Luminance0.4405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2E5 #BDE5A2
analogous
#A9A2E5 #CAA2E5 #E5A2DF
triadic
#CAA2E5 #E5CAA2 #A2E5CA
tetradic
#CAA2E5 #E5A9A2 #BDE5A2 #A2DFE5
square
#CAA2E5 #E5A9A2 #BDE5A2 #A2DFE5
split-complementary
#CAA2E5 #DFE5A2 #A2E5A9
monochromatic
#9342CA #AF72D8 #CAA2E5 #E5D2F2 #F1E7F8

Accessibility & contrast

On white

2.14
#CAA2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CAA2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2E5
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2E5#FFFFFF#000000##000000
##CAA2E51.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE8
Deuteranopia (green-blind)
#A0B2E3
Tritanopia (blue-blind)
#C7ABBA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caa2e5;
/* rgb */ color: rgb(202, 162, 229);
/* oklch */ color: oklch(77.1% 0.103 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbbeed',
    500: '#caa2e5',
    950: '#000000',
  },
}
SCSS
$custom: #caa2e5;
$custom-light: #dbbeed;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2e5",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 275.821,
    "s": 56.303,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77149,
    "c": 0.10266,
    "h": 311.2
  },
  "luminance": 0.44054
}

Semantic roles & 50–950 ramp

primary
#CAA2E5
secondary
#E4F0DB
accent
#C42263
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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