#CAA6EF#CAA6EF

#CAA6EF is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.3% C 0.108 H 306.6°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CAA6EF
RGBrgb(202, 166, 239)
HSLhsl(270, 70%, 79%)
HSVhsv(270, 31%, 94%)
CMYKcmyk(15.5%, 30.5%, 0%, 6.3%)
CIE-LABlab(73.59, 26.87, -31.64)
CIE-LCHlch(73.59, 41.51, 310.34°)
OKLaboklab(78.28% 0.0645 -0.0869)
OKLCHoklch(78.28% 0.108 306.6)
XYZxyz(53.5704, 46.0613, 87.7132)
Luminance0.4606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6EF #CBEFA6
analogous
#A6A7EF #CAA6EF #EFA6EF
triadic
#CAA6EF #EFCAA6 #A6EFCA
tetradic
#CAA6EF #EFA6A7 #CBEFA6 #A6EFEF
square
#CAA6EF #EFA6A7 #CBEFA6 #A6EFEF
split-complementary
#CAA6EF #EFEFA6 #A7EFA6
monochromatic
#8C3EDC #AB72E6 #CAA6EF #E9DAF8 #F0E5FA

Accessibility & contrast

On white

2.06
#CAA6EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CAA6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6EF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6EF#FFFFFF#000000##000000
##CAA6EF1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#9FB5ED
Tritanopia (blue-blind)
#C5B0C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa6ef;
/* rgb */ color: rgb(202, 166, 239);
/* oklch */ color: oklch(78.3% 0.108 306.6);
Tailwind
colors: {
  custom: {
    50: '#dbc0f4',
    500: '#caa6ef',
    950: '#000000',
  },
}
SCSS
$custom: #caa6ef;
$custom-light: #dbc0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6ef",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 269.589,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.10826,
    "h": 306.6
  },
  "luminance": 0.46061
}

Semantic roles & 50–950 ramp

primary
#CAA6EF
secondary
#E6F2D9
accent
#D21474
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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