#CAA2E2#CAA2E2

#CAA2E2 is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.0% C 0.099 H 312.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CAA2E2
RGBrgb(202, 162, 226)
HSLhsl(278, 52%, 76%)
HSVhsv(278, 28%, 89%)
CMYKcmyk(10.6%, 28.3%, 0%, 11.4%)
CIE-LABlab(72.15, 26.33, -26.75)
CIE-LCHlch(72.15, 37.54, 314.55°)
OKLaboklab(77.03% 0.0668 -0.0731)
OKLCHoklch(77.03% 0.099 312.5)
XYZxyz(51.0026, 43.8889, 77.7213)
Luminance0.4389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2E2 #BAE2A2
analogous
#AAA2E2 #CAA2E2 #E2A2DA
triadic
#CAA2E2 #E2CAA2 #A2E2CA
tetradic
#CAA2E2 #E2AAA2 #BAE2A2 #A2DAE2
square
#CAA2E2 #E2AAA2 #BAE2A2 #A2DAE2
split-complementary
#CAA2E2 #DAE2A2 #A2E2AA
monochromatic
#9545C5 #AF73D3 #CAA2E2 #E5D1F1 #F2E8F8

Accessibility & contrast

On white

2.15
#CAA2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CAA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2E2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2E2#FFFFFF#000000##000000
##CAA2E21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AFE5
Deuteranopia (green-blind)
#A1B2E0
Tritanopia (blue-blind)
#C8AAB9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caa2e2;
/* rgb */ color: rgb(202, 162, 226);
/* oklch */ color: oklch(77.0% 0.099 312.5);
Tailwind
colors: {
  custom: {
    50: '#dabeeb',
    500: '#caa2e2',
    950: '#000000',
  },
}
SCSS
$custom: #caa2e2;
$custom-light: #dabeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2e2",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 277.5,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77027,
    "c": 0.09902,
    "h": 312.5
  },
  "luminance": 0.43888
}

Semantic roles & 50–950 ramp

primary
#CAA2E2
secondary
#E3EFDC
accent
#C0265F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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