#CAA7FD#CAA7FD

#CAA7FD is a light, vivid violet. Relative luminance 0.473; OKLCH L 79.1% C 0.124 H 302.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CAA7FD
RGBrgb(202, 167, 253)
HSLhsl(264, 96%, 82%)
HSVhsv(264, 34%, 99%)
CMYKcmyk(20.2%, 34%, 0%, 0.8%)
CIE-LABlab(74.37, 29.39, -38.00)
CIE-LCHlch(74.37, 48.04, 307.71°)
OKLaboklab(79.07% 0.0666 -0.1051)
OKLCHoklch(79.07% 0.124 302.4)
XYZxyz(55.9017, 47.2858, 99.0915)
Luminance0.4729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7FD #DAFDA7
analogous
#A7AFFD #CAA7FD #F5A7FD
triadic
#CAA7FD #FDCAA7 #A7FDCA
tetradic
#CAA7FD #FDA7AF #DAFDA7 #A7FDF5
square
#CAA7FD #FDA7AF #DAFDA7 #A7FDF5
split-complementary
#CAA7FD #FDF5A7 #AFFDA7
monochromatic
#822FFA #A66BFC #CAA7FD #EDE1FE #EDE1FE

Accessibility & contrast

On white

2.01
#CAA7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#CAA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7FD
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7FD#FFFFFF#000000##000000
##CAA7FD1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#C1B4C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa7fd;
/* rgb */ color: rgb(202, 167, 253);
/* oklch */ color: oklch(79.1% 0.124 302.4);
Tailwind
colors: {
  custom: {
    50: '#dbc1fe',
    500: '#caa7fd',
    950: '#000000',
  },
}
SCSS
$custom: #caa7fd;
$custom-light: #dbc1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7fd",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 264.419,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79066,
    "c": 0.12441,
    "h": 302.4
  },
  "luminance": 0.47286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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