#CAA2EA#CAA2EA

#CAA2EA is a light, moderate violet. Relative luminance 0.443; OKLCH L 77.4% C 0.109 H 309.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CAA2EA
RGBrgb(202, 162, 234)
HSLhsl(273, 63%, 78%)
HSVhsv(273, 31%, 92%)
CMYKcmyk(13.7%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.45, 28.00, -30.66)
CIE-LCHlch(72.45, 41.52, 312.41°)
OKLaboklab(77.35% 0.069 -0.0841)
OKLCHoklch(77.35% 0.109 309.4)
XYZxyz(52.1261, 44.3383, 83.6381)
Luminance0.4434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2EA #C2EAA2
analogous
#A6A2EA #CAA2EA #EAA2E6
triadic
#CAA2EA #EACAA2 #A2EACA
tetradic
#CAA2EA #EAA6A2 #C2EAA2 #A2E6EA
square
#CAA2EA #EAA6A2 #C2EAA2 #A2E6EA
split-complementary
#CAA2EA #E6EAA2 #A2EAA6
monochromatic
#913ED3 #AE70DF #CAA2EA #E6D4F5 #F1E6F9

Accessibility & contrast

On white

2.13
#CAA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CAA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2EA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2EA#FFFFFF#000000##000000
##CAA2EA1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#9EB2E8
Tritanopia (blue-blind)
#C6ACBC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa2ea;
/* rgb */ color: rgb(202, 162, 234);
/* oklch */ color: oklch(77.4% 0.109 309.4);
Tailwind
colors: {
  custom: {
    50: '#dbbef1',
    500: '#caa2ea',
    950: '#000000',
  },
}
SCSS
$custom: #caa2ea;
$custom-light: #dbbef1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2ea",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 273.333,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77355,
    "c": 0.10879,
    "h": 309.4
  },
  "luminance": 0.44338
}

Semantic roles & 50–950 ramp

primary
#CAA2EA
secondary
#E4F1DA
accent
#CB1B69
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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