#CAA5EC#CAA5EC

#CAA5EC is a light, moderate violet. Relative luminance 0.455; OKLCH L 78.0% C 0.106 H 307.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAA5EC
RGBrgb(202, 165, 236)
HSLhsl(271, 65%, 79%)
HSVhsv(271, 30%, 93%)
CMYKcmyk(14.4%, 30.1%, 0%, 7.5%)
CIE-LABlab(73.24, 26.78, -30.54)
CIE-LCHlch(73.24, 40.62, 311.24°)
OKLaboklab(77.98% 0.0652 -0.0838)
OKLCHoklch(77.98% 0.106 307.9)
XYZxyz(52.9498, 45.5234, 85.3381)
Luminance0.4552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5EC #C7ECA5
analogous
#A6A5EC #CAA5EC #ECA5EA
triadic
#CAA5EC #ECCAA5 #A5ECCA
tetradic
#CAA5EC #ECA6A5 #C7ECA5 #A5EAEC
square
#CAA5EC #ECA6A5 #C7ECA5 #A5EAEC
split-complementary
#CAA5EC #EAECA5 #A5ECA6
monochromatic
#8E40D7 #AC72E1 #CAA5EC #E8D8F7 #F0E6FA

Accessibility & contrast

On white

2.08
#CAA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CAA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5EC
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5EC#FFFFFF#000000##000000
##CAA5EC1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EF
Deuteranopia (green-blind)
#A0B4EA
Tritanopia (blue-blind)
#C6AFBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa5ec;
/* rgb */ color: rgb(202, 165, 236);
/* oklch */ color: oklch(78.0% 0.106 307.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0f2',
    500: '#caa5ec',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ec;
$custom-light: #dbc0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ec",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 271.268,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77978,
    "c": 0.10619,
    "h": 307.9
  },
  "luminance": 0.45523
}

Semantic roles & 50–950 ramp

primary
#CAA5EC
secondary
#E5F1DA
accent
#CD196F
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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