#CAA2EC#CAA2EC

#CAA2EC is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.4% C 0.111 H 308.7°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CAA2EC
RGBrgb(202, 162, 236)
HSLhsl(272, 66%, 78%)
HSVhsv(272, 31%, 93%)
CMYKcmyk(14.4%, 31.4%, 0%, 7.5%)
CIE-LABlab(72.53, 28.43, -31.63)
CIE-LCHlch(72.53, 42.53, 311.94°)
OKLaboklab(77.44% 0.0695 -0.0869)
OKLCHoklch(77.44% 0.111 308.7)
XYZxyz(52.4150, 44.4538, 85.1598)
Luminance0.4445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA2EC #C4ECA2
analogous
#A5A2EC #CAA2EC #ECA2E9
triadic
#CAA2EC #ECCAA2 #A2ECCA
tetradic
#CAA2EC #ECA5A2 #C4ECA2 #A2E9EC
square
#CAA2EC #ECA5A2 #C4ECA2 #A2E9EC
split-complementary
#CAA2EC #E9ECA2 #A2ECA5
monochromatic
#903CD7 #AD6FE2 #CAA2EC #E7D5F6 #F1E6FA

Accessibility & contrast

On white

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

On black

9.89
#CAA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA2EC
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA2EC#FFFFFF#000000##000000
##CAA2EC1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EF
Deuteranopia (green-blind)
#9DB3EA
Tritanopia (blue-blind)
#C6ACBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa2ec;
/* rgb */ color: rgb(202, 162, 236);
/* oklch */ color: oklch(77.4% 0.111 308.7);
Tailwind
colors: {
  custom: {
    50: '#dbbef2',
    500: '#caa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa2ec;
$custom-light: #dbbef2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa2ec",
  "rgb": {
    "r": 202,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 272.432,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77439,
    "c": 0.11127,
    "h": 308.7
  },
  "luminance": 0.44453
}

Semantic roles & 50–950 ramp

primary
#CAA2EC
secondary
#E5F1DA
accent
#CE186B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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