#CAA2E7#CAA2E7

#CAA2E7 is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.2% C 0.105 H 310.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CAA2E7
RGBrgb(202, 162, 231)
HSLhsl(275, 59%, 77%)
HSVhsv(275, 30%, 91%)
CMYKcmyk(12.6%, 29.9%, 0%, 9.4%)
CIE-LABlab(72.34, 27.37, -29.20)
CIE-LCHlch(72.34, 40.02, 313.15°)
OKLaboklab(77.23% 0.0682 -0.08)
OKLCHoklch(77.23% 0.105 310.5)
XYZxyz(51.6987, 44.1673, 81.3874)
Luminance0.4417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2E7 #BFE7A2
analogous
#A8A2E7 #CAA2E7 #E7A2E1
triadic
#CAA2E7 #E7CAA2 #A2E7CA
tetradic
#CAA2E7 #E7A8A2 #BFE7A2 #A2E1E7
square
#CAA2E7 #E7A8A2 #BFE7A2 #A2E1E7
split-complementary
#CAA2E7 #E1E7A2 #A2E7A8
monochromatic
#9341CE #AE71DA #CAA2E7 #E6D3F4 #F1E7F9

Accessibility & contrast

On white

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

On black

9.83
#CAA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2E7
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2E7#FFFFFF#000000##000000
##CAA2E71.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AFEA
Deuteranopia (green-blind)
#9FB2E5
Tritanopia (blue-blind)
#C7ABBB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caa2e7;
/* rgb */ color: rgb(202, 162, 231);
/* oklch */ color: oklch(77.2% 0.105 310.5);
Tailwind
colors: {
  custom: {
    50: '#dbbeee',
    500: '#caa2e7',
    950: '#000000',
  },
}
SCSS
$custom: #caa2e7;
$custom-light: #dbbeee;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2e7",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 274.783,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77231,
    "c": 0.10511,
    "h": 310.5
  },
  "luminance": 0.44167
}

Semantic roles & 50–950 ramp

primary
#CAA2E7
secondary
#E4F0DB
accent
#C71F65
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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