#CAA2E4#CAA2E4

#CAA2E4 is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.1% C 0.101 H 311.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CAA2E4
RGBrgb(202, 162, 228)
HSLhsl(276, 55%, 76%)
HSVhsv(276, 29%, 89%)
CMYKcmyk(11.4%, 28.9%, 0%, 10.6%)
CIE-LABlab(72.23, 26.75, -27.73)
CIE-LCHlch(72.23, 38.53, 313.96°)
OKLaboklab(77.11% 0.0674 -0.0758)
OKLCHoklch(77.11% 0.101 311.6)
XYZxyz(51.2787, 43.9993, 79.1751)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2E4 #BCE4A2
analogous
#A9A2E4 #CAA2E4 #E4A2DD
triadic
#CAA2E4 #E4CAA2 #A2E4CA
tetradic
#CAA2E4 #E4A9A2 #BCE4A2 #A2DDE4
square
#CAA2E4 #E4A9A2 #BCE4A2 #A2DDE4
split-complementary
#CAA2E4 #DDE4A2 #A2E4A9
monochromatic
#9443C8 #AF73D6 #CAA2E4 #E5D1F2 #F1E7F8

Accessibility & contrast

On white

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

On black

9.80
#CAA2E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2E4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2E4#FFFFFF#000000##000000
##CAA2E41.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE7
Deuteranopia (green-blind)
#A0B2E2
Tritanopia (blue-blind)
#C8AABA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caa2e4;
/* rgb */ color: rgb(202, 162, 228);
/* oklch */ color: oklch(77.1% 0.101 311.6);
Tailwind
colors: {
  custom: {
    50: '#dabeec',
    500: '#caa2e4',
    950: '#000000',
  },
}
SCSS
$custom: #caa2e4;
$custom-light: #dabeec;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2e4",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 228
  },
  "hsl": {
    "h": 276.364,
    "s": 55,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77108,
    "c": 0.10145,
    "h": 311.6
  },
  "luminance": 0.43999
}

Semantic roles & 50–950 ramp

primary
#CAA2E4
secondary
#E3EFDC
accent
#C32362
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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