#CAA8EC#CAA8EC

#CAA8EC is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.5% C 0.101 H 307.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CAA8EC
RGBrgb(202, 168, 236)
HSLhsl(270, 64%, 79%)
HSVhsv(270, 29%, 93%)
CMYKcmyk(14.4%, 28.8%, 0%, 7.5%)
CIE-LABlab(73.94, 25.13, -29.45)
CIE-LCHlch(73.94, 38.72, 310.48°)
OKLaboklab(78.52% 0.0609 -0.0807)
OKLCHoklch(78.52% 0.101 307)
XYZxyz(53.4972, 46.6183, 85.5205)
Luminance0.4662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8EC #CAECA8
analogous
#A8A8EC #CAA8EC #ECA8EC
triadic
#CAA8EC #ECCAA8 #A8ECCA
tetradic
#CAA8EC #ECA8A8 #CAECA8 #A8ECEC
square
#CAA8EC #ECA8A8 #CAECA8 #A8ECEC
split-complementary
#CAA8EC #ECECA8 #A8ECA8
monochromatic
#8D44D6 #AB76E1 #CAA8EC #E9DAF7 #F0E6FA

Accessibility & contrast

On white

2.03
#CAA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CAA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8EC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8EC#FFFFFF#000000##000000
##CAA8EC1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB4EF
Deuteranopia (green-blind)
#A2B6EA
Tritanopia (blue-blind)
#C6B1C0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa8ec;
/* rgb */ color: rgb(202, 168, 236);
/* oklch */ color: oklch(78.5% 0.101 307.0);
Tailwind
colors: {
  custom: {
    50: '#dbc2f2',
    500: '#caa8ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa8ec;
$custom-light: #dbc2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8ec",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78521,
    "c": 0.10111,
    "h": 307
  },
  "luminance": 0.46618
}

Semantic roles & 50–950 ramp

primary
#CAA8EC
secondary
#E6F1DA
accent
#CC1A73
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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