#CAA6EE#CAA6EE

#CAA6EE is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.2% C 0.107 H 306.9°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CAA6EE
RGBrgb(202, 166, 238)
HSLhsl(270, 68%, 79%)
HSVhsv(270, 30%, 93%)
CMYKcmyk(15.1%, 30.3%, 0%, 6.7%)
CIE-LABlab(73.55, 26.66, -31.15)
CIE-LCHlch(73.55, 41.00, 310.55°)
OKLaboklab(78.24% 0.0643 -0.0855)
OKLCHoklch(78.24% 0.107 306.9)
XYZxyz(53.4230, 46.0024, 86.9373)
Luminance0.4600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6EE #CAEEA6
analogous
#A6A6EE #CAA6EE #EEA6EE
triadic
#CAA6EE #EECAA6 #A6EECA
tetradic
#CAA6EE #EEA6A6 #CAEEA6 #A6EEEE
square
#CAA6EE #EEA6A6 #CAEEA6 #A6EEEE
split-complementary
#CAA6EE #EEEEA6 #A6EEA6
monochromatic
#8D3FDA #AB73E4 #CAA6EE #E9D9F8 #F0E5FA

Accessibility & contrast

On white

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

On black

10.20
#CAA6EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6EE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6EE#FFFFFF#000000##000000
##CAA6EE1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F1
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#C5B0C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa6ee;
/* rgb */ color: rgb(202, 166, 238);
/* oklch */ color: oklch(78.2% 0.107 306.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0f3',
    500: '#caa6ee',
    950: '#000000',
  },
}
SCSS
$custom: #caa6ee;
$custom-light: #dbc0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6ee",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 67.925,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78241,
    "c": 0.10701,
    "h": 306.9
  },
  "luminance": 0.46002
}

Semantic roles & 50–950 ramp

primary
#CAA6EE
secondary
#E6F2D9
accent
#D01673
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CAA6EE

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

Preview Lab → · Contrast checker → · Palette generator →

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