#CAA1EF#CAA1EF

#CAA1EF is a light, moderate violet. Relative luminance 0.443; OKLCH L 77.4% C 0.117 H 307.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CAA1EF
RGBrgb(202, 161, 239)
HSLhsl(272, 71%, 78%)
HSVhsv(272, 33%, 94%)
CMYKcmyk(15.5%, 32.6%, 0%, 6.3%)
CIE-LABlab(72.41, 29.61, -33.44)
CIE-LCHlch(72.41, 44.67, 311.52°)
OKLaboklab(77.39% 0.0717 -0.092)
OKLCHoklch(77.39% 0.117 307.9)
XYZxyz(52.6791, 44.2787, 87.4161)
Luminance0.4428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA1EF #C6EFA1
analogous
#A3A1EF #CAA1EF #EFA1ED
triadic
#CAA1EF #EFCAA1 #A1EFCA
tetradic
#CAA1EF #EFA3A1 #C6EFA1 #A1EDEF
square
#CAA1EF #EFA3A1 #C6EFA1 #A1EDEF
split-complementary
#CAA1EF #EDEFA1 #A1EFA3
monochromatic
#8F38DD #AD6DE6 #CAA1EF #E7D5F8 #F0E5FB

Accessibility & contrast

On white

2.13
#CAA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#CAA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA1EF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA1EF#FFFFFF#000000##000000
##CAA1EF1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B0F2
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#C5ACBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #caa1ef;
/* rgb */ color: rgb(202, 161, 239);
/* oklch */ color: oklch(77.4% 0.117 307.9);
Tailwind
colors: {
  custom: {
    50: '#dbbdf4',
    500: '#caa1ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa1ef;
$custom-light: #dbbdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa1ef",
  "rgb": {
    "r": 202,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 271.538,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.11667,
    "h": 307.9
  },
  "luminance": 0.44278
}

Semantic roles & 50–950 ramp

primary
#CAA1EF
secondary
#E5F2D9
accent
#D3136E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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