#CAA6EB#CAA6EB

#CAA6EB is a light, moderate violet. Relative luminance 0.458; OKLCH L 78.1% C 0.103 H 307.9°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CAA6EB
RGBrgb(202, 166, 235)
HSLhsl(271, 63%, 79%)
HSVhsv(271, 29%, 92%)
CMYKcmyk(14%, 29.4%, 0%, 7.8%)
CIE-LABlab(73.43, 26.02, -29.70)
CIE-LCHlch(73.43, 39.48, 311.22°)
OKLaboklab(78.12% 0.0635 -0.0814)
OKLCHoklch(78.12% 0.103 307.9)
XYZxyz(52.9860, 45.8276, 84.6354)
Luminance0.4583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6EB #C7EBA6
analogous
#A7A6EB #CAA6EB #EBA6EA
triadic
#CAA6EB #EBCAA6 #A6EBCA
tetradic
#CAA6EB #EBA7A6 #C7EBA6 #A6EAEB
square
#CAA6EB #EBA7A6 #C7EBA6 #A6EAEB
split-complementary
#CAA6EB #EAEBA6 #A6EBA7
monochromatic
#8E42D5 #AC74E0 #CAA6EB #E8D8F6 #F0E6F9

Accessibility & contrast

On white

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

On black

10.17
#CAA6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6EB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6EB#FFFFFF#000000##000000
##CAA6EB1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#C6AFBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #caa6eb;
/* rgb */ color: rgb(202, 166, 235);
/* oklch */ color: oklch(78.1% 0.103 307.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0f1',
    500: '#caa6eb',
    950: '#000000',
  },
}
SCSS
$custom: #caa6eb;
$custom-light: #dbc0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6eb",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 271.304,
    "s": 63.303,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78117,
    "c": 0.10323,
    "h": 307.9
  },
  "luminance": 0.45827
}

Semantic roles & 50–950 ramp

primary
#CAA6EB
secondary
#E5F1DA
accent
#CB1A6F
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CAA6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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