#CAA4EC#CAA4EC

#CAA4EC is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.8% C 0.108 H 308.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CAA4EC
RGBrgb(202, 164, 236)
HSLhsl(272, 65%, 78%)
HSVhsv(272, 31%, 93%)
CMYKcmyk(14.4%, 30.5%, 0%, 7.5%)
CIE-LABlab(73.00, 27.33, -30.91)
CIE-LCHlch(73.00, 41.26, 311.48°)
OKLaboklab(77.8% 0.0666 -0.0848)
OKLCHoklch(77.8% 0.108 308.1)
XYZxyz(52.7701, 45.1640, 85.2782)
Luminance0.4516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA4EC #C6ECA4
analogous
#A6A4EC #CAA4EC #ECA4EA
triadic
#CAA4EC #ECCAA4 #A4ECCA
tetradic
#CAA4EC #ECA6A4 #C6ECA4 #A4EAEC
square
#CAA4EC #ECA6A4 #C6ECA4 #A4EAEC
split-complementary
#CAA4EC #EAECA4 #A4ECA6
monochromatic
#8F3FD7 #AD71E1 #CAA4EC #E7D7F7 #F0E6FA

Accessibility & contrast

On white

2.09
#CAA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CAA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA4EC
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA4EC#FFFFFF#000000##000000
##CAA4EC1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2EF
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#C6AEBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #caa4ec;
/* rgb */ color: rgb(202, 164, 236);
/* oklch */ color: oklch(77.8% 0.108 308.1);
Tailwind
colors: {
  custom: {
    50: '#dbbff2',
    500: '#caa4ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa4ec;
$custom-light: #dbbff2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa4ec",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 271.667,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77798,
    "c": 0.10788,
    "h": 308.1
  },
  "luminance": 0.45164
}

Semantic roles & 50–950 ramp

primary
#CAA4EC
secondary
#E5F1DA
accent
#CD186E
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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