#CAA5EF#CAA5EF

#CAA5EF is a light, moderate violet. Relative luminance 0.457; OKLCH L 78.1% C 0.110 H 306.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CAA5EF
RGBrgb(202, 165, 239)
HSLhsl(270, 70%, 79%)
HSVhsv(270, 31%, 94%)
CMYKcmyk(15.5%, 31%, 0%, 6.3%)
CIE-LABlab(73.35, 27.42, -32.00)
CIE-LCHlch(73.35, 42.14, 310.59°)
OKLaboklab(78.1% 0.066 -0.0879)
OKLCHoklch(78.1% 0.11 306.9)
XYZxyz(53.3893, 45.6992, 87.6528)
Luminance0.4570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5EF #CAEFA5
analogous
#A5A5EF #CAA5EF #EFA5EF
triadic
#CAA5EF #EFCAA5 #A5EFCA
tetradic
#CAA5EF #EFA5A5 #CAEFA5 #A5EFEF
square
#CAA5EF #EFA5A5 #CAEFA5 #A5EFEF
split-complementary
#CAA5EF #EFEFA5 #A5EFA5
monochromatic
#8D3DDD #AB71E6 #CAA5EF #E9D9F8 #F0E5FA

Accessibility & contrast

On white

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

On black

10.14
#CAA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5EF
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5EF#FFFFFF#000000##000000
##CAA5EF1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F2
Deuteranopia (green-blind)
#9EB5ED
Tritanopia (blue-blind)
#C5AFC0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa5ef;
/* rgb */ color: rgb(202, 165, 239);
/* oklch */ color: oklch(78.1% 0.110 306.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0f4',
    500: '#caa5ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa5ef;
$custom-light: #dbc0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5ef",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 270,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.10994,
    "h": 306.9
  },
  "luminance": 0.45699
}

Semantic roles & 50–950 ramp

primary
#CAA5EF
secondary
#E6F2D9
accent
#D21473
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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