#CAA6FE#CAA6FE

#CAA6FE is a light, vivid violet. Relative luminance 0.470; OKLCH L 78.9% C 0.127 H 302.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CAA6FE
RGBrgb(202, 166, 254)
HSLhsl(265, 98%, 82%)
HSVhsv(265, 35%, 100%)
CMYKcmyk(20.5%, 34.6%, 0%, 0.4%)
CIE-LABlab(74.18, 30.16, -38.84)
CIE-LCHlch(74.18, 49.17, 307.83°)
OKLaboklab(78.93% 0.0682 -0.1075)
OKLCHoklch(78.93% 0.127 302.4)
XYZxyz(55.8790, 46.9848, 99.8718)
Luminance0.4698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6FE #DAFEA6
analogous
#A6AEFE #CAA6FE #F6A6FE
triadic
#CAA6FE #FECAA6 #A6FECA
tetradic
#CAA6FE #FEA6AE #DAFEA6 #A6FEF6
square
#CAA6FE #FEA6AE #DAFEA6 #A6FEF6
split-complementary
#CAA6FE #FEF6A6 #AEFEA6
monochromatic
#822DFD #A669FD #CAA6FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

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

On black

10.40
#CAA6FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6FE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6FE#FFFFFF#000000##000000
##CAA6FE1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caa6fe;
/* rgb */ color: rgb(202, 166, 254);
/* oklch */ color: oklch(78.9% 0.127 302.4);
Tailwind
colors: {
  custom: {
    50: '#dbc0ff',
    500: '#caa6fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa6fe;
$custom-light: #dbc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6fe",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 254
  },
  "hsl": {
    "h": 264.545,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.78933,
    "c": 0.1273,
    "h": 302.4
  },
  "luminance": 0.46985
}

Semantic roles & 50–950 ramp

primary
#CAA6FE
secondary
#E9F7D4
accent
#E60088
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA6FE

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

Preview Lab → · Contrast checker → · Palette generator →

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