#CAA7FE#CAA7FE

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

Color values

HEX#CAA7FE
RGBrgb(202, 167, 254)
HSLhsl(264, 98%, 83%)
HSVhsv(264, 34%, 100%)
CMYKcmyk(20.5%, 34.3%, 0%, 0.4%)
CIE-LABlab(74.41, 29.61, -38.48)
CIE-LCHlch(74.41, 48.55, 307.58°)
OKLaboklab(79.11% 0.0668 -0.1065)
OKLCHoklch(79.11% 0.126 302.1)
XYZxyz(56.0614, 47.3497, 99.9327)
Luminance0.4735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7FE #DBFEA7
analogous
#A7AFFE #CAA7FE #F6A7FE
triadic
#CAA7FE #FECAA7 #A7FECA
tetradic
#CAA7FE #FEA7AF #DBFEA7 #A7FEF6
square
#CAA7FE #FEA7AF #DBFEA7 #A7FEF6
split-complementary
#CAA7FE #FEF6A7 #AFFEA7
monochromatic
#812EFD #A66AFD #CAA7FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

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

On black

10.47
#CAA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7FE
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7FE#FFFFFF#000000##000000
##CAA7FE1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#C1B5C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa7fe;
/* rgb */ color: rgb(202, 167, 254);
/* oklch */ color: oklch(79.1% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#dbc1ff',
    500: '#caa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa7fe;
$custom-light: #dbc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7fe",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 264.138,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79111,
    "c": 0.12569,
    "h": 302.1
  },
  "luminance": 0.4735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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