#CAA6FA#CAA6FA

#CAA6FA is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.8% C 0.122 H 303.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CAA6FA
RGBrgb(202, 166, 250)
HSLhsl(266, 89%, 82%)
HSVhsv(266, 34%, 98%)
CMYKcmyk(19.2%, 33.6%, 0%, 2%)
CIE-LABlab(74.02, 29.27, -36.93)
CIE-LCHlch(74.02, 47.12, 308.40°)
OKLaboklab(78.76% 0.0673 -0.102)
OKLCHoklch(78.76% 0.122 303.4)
XYZxyz(55.2451, 46.7312, 96.5335)
Luminance0.4673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6FA #D6FAA6
analogous
#A6ACFA #CAA6FA #F4A6FA
triadic
#CAA6FA #FACAA6 #A6FACA
tetradic
#CAA6FA #FAA6AC #D6FAA6 #A6FAF4
square
#CAA6FA #FAA6AC #D6FAA6 #A6FAF4
split-complementary
#CAA6FA #FAF4A6 #ACFAA6
monochromatic
#8532F3 #A76CF7 #CAA6FA #EDE0FD #EEE2FD

Accessibility & contrast

On white

2.03
#CAA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CAA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6FA
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6FA#FFFFFF#000000##000000
##CAA6FA1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#C2B3C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa6fa;
/* rgb */ color: rgb(202, 166, 250);
/* oklch */ color: oklch(78.8% 0.122 303.4);
Tailwind
colors: {
  custom: {
    50: '#dbc0fc',
    500: '#caa6fa',
    950: '#000000',
  },
}
SCSS
$custom: #caa6fa;
$custom-light: #dbc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6fa",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 265.714,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.1222,
    "h": 303.4
  },
  "luminance": 0.46731
}

Semantic roles & 50–950 ramp

primary
#CAA6FA
secondary
#E8F5D6
accent
#E60083
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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