#CAA9EC#CAA9EC

#CAA9EC is a light, moderate violet. Relative luminance 0.470; OKLCH L 78.7% C 0.099 H 306.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CAA9EC
RGBrgb(202, 169, 236)
HSLhsl(270, 64%, 79%)
HSVhsv(270, 28%, 93%)
CMYKcmyk(14.4%, 28.4%, 0%, 7.5%)
CIE-LABlab(74.18, 24.58, -29.09)
CIE-LCHlch(74.18, 38.08, 310.20°)
OKLaboklab(78.7% 0.0594 -0.0797)
OKLCHoklch(78.7% 0.099 306.7)
XYZxyz(53.6826, 46.9889, 85.5823)
Luminance0.4699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA9EC #CBECA9
analogous
#A9AAEC #CAA9EC #ECA9EC
triadic
#CAA9EC #ECCAA9 #A9ECCA
tetradic
#CAA9EC #ECA9AA #CBECA9 #A9ECEC
square
#CAA9EC #ECA9AA #CBECA9 #A9ECEC
split-complementary
#CAA9EC #ECECA9 #AAECA9
monochromatic
#8C45D6 #AB77E1 #CAA9EC #E9DBF7 #F0E6F9

Accessibility & contrast

On white

2.02
#CAA9EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CAA9EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA9EC
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA9EC#FFFFFF#000000##000000
##CAA9EC1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EF
Deuteranopia (green-blind)
#A3B7EA
Tritanopia (blue-blind)
#C5B2C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa9ec;
/* rgb */ color: rgb(202, 169, 236);
/* oklch */ color: oklch(78.7% 0.099 306.7);
Tailwind
colors: {
  custom: {
    50: '#dac2f2',
    500: '#caa9ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa9ec;
$custom-light: #dac2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa9ec",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 236
  },
  "hsl": {
    "h": 269.552,
    "s": 63.81,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78703,
    "c": 0.09943,
    "h": 306.7
  },
  "luminance": 0.46989
}

Semantic roles & 50–950 ramp

primary
#CAA9EC
secondary
#E6F1DA
accent
#CC1A74
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA9EC

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

Preview Lab → · Contrast checker → · Palette generator →

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