#CAA5EE#CAA5EE

#CAA5EE is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.1% C 0.109 H 307.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CAA5EE
RGBrgb(202, 165, 238)
HSLhsl(270, 68%, 79%)
HSVhsv(270, 31%, 93%)
CMYKcmyk(15.1%, 30.7%, 0%, 6.7%)
CIE-LABlab(73.31, 27.21, -31.52)
CIE-LCHlch(73.31, 41.63, 310.80°)
OKLaboklab(78.06% 0.0657 -0.0866)
OKLCHoklch(78.06% 0.109 307.2)
XYZxyz(53.2420, 45.6402, 86.8769)
Luminance0.4564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5EE #C9EEA5
analogous
#A6A5EE #CAA5EE #EEA5EE
triadic
#CAA5EE #EECAA5 #A5EECA
tetradic
#CAA5EE #EEA6A5 #C9EEA5 #A5EEEE
square
#CAA5EE #EEA6A5 #C9EEA5 #A5EEEE
split-complementary
#CAA5EE #EEEEA5 #A5EEA6
monochromatic
#8D3EDB #AC72E4 #CAA5EE #E8D8F8 #F0E5FA

Accessibility & contrast

On white

2.07
#CAA5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CAA5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5EE
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5EE#FFFFFF#000000##000000
##CAA5EE1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F1
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#C5AFBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa5ee;
/* rgb */ color: rgb(202, 165, 238);
/* oklch */ color: oklch(78.1% 0.109 307.2);
Tailwind
colors: {
  custom: {
    50: '#dbc0f3',
    500: '#caa5ee',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ee;
$custom-light: #dbc0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ee",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 270.411,
    "s": 68.224,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78061,
    "c": 0.10868,
    "h": 307.2
  },
  "luminance": 0.4564
}

Semantic roles & 50–950 ramp

primary
#CAA5EE
secondary
#E5F2D9
accent
#D01571
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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