#CAA2EE#CAA2EE

#CAA2EE is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.5% C 0.114 H 308.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CAA2EE
RGBrgb(202, 162, 238)
HSLhsl(272, 69%, 78%)
HSVhsv(272, 32%, 93%)
CMYKcmyk(15.1%, 31.9%, 0%, 6.7%)
CIE-LABlab(72.61, 28.85, -32.60)
CIE-LCHlch(72.61, 43.53, 311.51°)
OKLaboklab(77.52% 0.07 -0.0896)
OKLCHoklch(77.52% 0.114 308)
XYZxyz(52.7072, 44.5707, 86.6987)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2EE #C6EEA2
analogous
#A4A2EE #CAA2EE #EEA2EC
triadic
#CAA2EE #EECAA2 #A2EECA
tetradic
#CAA2EE #EEA4A2 #C6EEA2 #A2ECEE
square
#CAA2EE #EEA4A2 #C6EEA2 #A2ECEE
split-complementary
#CAA2EE #ECEEA2 #A2EEA4
monochromatic
#8F3BDB #AD6EE5 #CAA2EE #E7D6F7 #F0E5FA

Accessibility & contrast

On white

2.12
#CAA2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CAA2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2EE
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2EE#FFFFFF#000000##000000
##CAA2EE1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0F1
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#C5ADBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa2ee;
/* rgb */ color: rgb(202, 162, 238);
/* oklch */ color: oklch(77.5% 0.114 308.0);
Tailwind
colors: {
  custom: {
    50: '#dbbef3',
    500: '#caa2ee',
    950: '#000000',
  },
}
SCSS
$custom: #caa2ee;
$custom-light: #dbbef3;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2ee",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 271.579,
    "s": 69.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77524,
    "c": 0.11374,
    "h": 308
  },
  "luminance": 0.4457
}

Semantic roles & 50–950 ramp

primary
#CAA2EE
secondary
#E5F2D9
accent
#D1146E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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