#CAA1EC#CAA1EC

#CAA1EC is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.3% C 0.113 H 308.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CAA1EC
RGBrgb(202, 161, 236)
HSLhsl(273, 66%, 78%)
HSVhsv(273, 32%, 93%)
CMYKcmyk(14.4%, 31.8%, 0%, 7.5%)
CIE-LABlab(72.30, 28.97, -31.99)
CIE-LCHlch(72.30, 43.16, 312.17°)
OKLaboklab(77.26% 0.0709 -0.0879)
OKLCHoklch(77.26% 0.113 308.9)
XYZxyz(52.2395, 44.1029, 85.1013)
Luminance0.4410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1EC #C3ECA1
analogous
#A4A1EC #CAA1EC #ECA1E9
triadic
#CAA1EC #ECCAA1 #A1ECCA
tetradic
#CAA1EC #ECA4A1 #C3ECA1 #A1E9EC
square
#CAA1EC #ECA4A1 #C3ECA1 #A1E9EC
split-complementary
#CAA1EC #E9ECA1 #A1ECA4
monochromatic
#913BD7 #AD6EE2 #CAA1EC #E7D4F6 #F1E6FA

Accessibility & contrast

On white

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

On black

9.82
#CAA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1EC
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1EC#FFFFFF#000000##000000
##CAA1EC1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#C6ABBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #caa1ec;
/* rgb */ color: rgb(202, 161, 236);
/* oklch */ color: oklch(77.3% 0.113 308.9);
Tailwind
colors: {
  custom: {
    50: '#dbbdf2',
    500: '#caa1ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa1ec;
$custom-light: #dbbdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1ec",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 272.8,
    "s": 66.372,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77261,
    "c": 0.11296,
    "h": 308.9
  },
  "luminance": 0.44102
}

Semantic roles & 50–950 ramp

primary
#CAA1EC
secondary
#E4F1DA
accent
#CE176A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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