#CAA4FE#CAA4FE

#CAA4FE is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.6% C 0.131 H 302.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CAA4FE
RGBrgb(202, 164, 254)
HSLhsl(265, 98%, 82%)
HSVhsv(265, 35%, 100%)
CMYKcmyk(20.5%, 35.4%, 0%, 0.4%)
CIE-LABlab(73.72, 31.25, -39.56)
CIE-LCHlch(73.72, 50.42, 308.31°)
OKLaboklab(78.58% 0.071 -0.1096)
OKLCHoklch(78.58% 0.131 302.9)
XYZxyz(55.5182, 46.2633, 99.7516)
Luminance0.4626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA4FE #D8FEA4
analogous
#A4ABFE #CAA4FE #F7A4FE
triadic
#CAA4FE #FECAA4 #A4FECA
tetradic
#CAA4FE #FEA4AB #D8FEA4 #A4FEF7
square
#CAA4FE #FEA4AB #D8FEA4 #A4FEF7
split-complementary
#CAA4FE #FEF7A4 #ABFEA4
monochromatic
#832BFD #A767FD #CAA4FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

2.05
#CAA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CAA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA4FE
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA4FE#FFFFFF#000000##000000
##CAA4FE1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B4FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#C1B2C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa4fe;
/* rgb */ color: rgb(202, 164, 254);
/* oklch */ color: oklch(78.6% 0.131 302.9);
Tailwind
colors: {
  custom: {
    50: '#dbbfff',
    500: '#caa4fe',
    950: '#000000',
  },
}
SCSS
$custom: #caa4fe;
$custom-light: #dbbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#caa4fe",
  "rgb": {
    "r": 202,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 265.333,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.7858,
    "c": 0.13055,
    "h": 302.9
  },
  "luminance": 0.46263
}

Semantic roles & 50–950 ramp

primary
#CAA4FE
secondary
#E8F7D4
accent
#E60085
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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