#CAA6FF#CAA6FF

#CAA6FF is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.0% C 0.129 H 302.1°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CAA6FF
RGBrgb(202, 166, 255)
HSLhsl(264, 100%, 83%)
HSVhsv(264, 35%, 100%)
CMYKcmyk(20.8%, 34.9%, 0%, 0%)
CIE-LABlab(74.22, 30.38, -39.32)
CIE-LCHlch(74.22, 49.69, 307.69°)
OKLaboklab(78.98% 0.0684 -0.1089)
OKLCHoklch(78.98% 0.129 302.1)
XYZxyz(56.0395, 47.0490, 100.7174)
Luminance0.4705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6FF #DBFFA6
analogous
#A6AEFF #CAA6FF #F7A6FF
triadic
#CAA6FF #FFCAA6 #A6FFCA
tetradic
#CAA6FF #FFA6AE #DBFFA6 #A6FFF7
square
#CAA6FF #FFA6AE #DBFFA6 #A6FFF7
split-complementary
#CAA6FF #FFF7A6 #AEFFA6
monochromatic
#812CFF #A669FF #CAA6FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

2.02
#CAA6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#CAA6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6FF
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6FF#FFFFFF#000000##000000
##CAA6FF1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#99B6FD
Tritanopia (blue-blind)
#C1B4C7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa6ff;
/* rgb */ color: rgb(202, 166, 255);
/* oklch */ color: oklch(79.0% 0.129 302.1);
Tailwind
colors: {
  custom: {
    50: '#dbc0ff',
    500: '#caa6ff',
    950: '#000000',
  },
}
SCSS
$custom: #caa6ff;
$custom-light: #dbc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6ff",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 264.27,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78978,
    "c": 0.12858,
    "h": 302.1
  },
  "luminance": 0.47049
}

Semantic roles & 50–950 ramp

primary
#CAA6FF
secondary
#E9F7D4
accent
#E60089
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA6FF

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

Preview Lab → · Contrast checker → · Palette generator →

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