#CAA5FB#CAA5FB

#CAA5FB is a light, vivid violet. Relative luminance 0.464; OKLCH L 78.6% C 0.125 H 303.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CAA5FB
RGBrgb(202, 165, 251)
HSLhsl(266, 91%, 82%)
HSVhsv(266, 34%, 98%)
CMYKcmyk(19.5%, 34.3%, 0%, 1.6%)
CIE-LABlab(73.83, 30.04, -37.77)
CIE-LCHlch(73.83, 48.26, 308.49°)
OKLaboklab(78.62% 0.0689 -0.1044)
OKLCHoklch(78.62% 0.125 303.4)
XYZxyz(55.2212, 46.4320, 97.3012)
Luminance0.4643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5FB #D6FBA5
analogous
#A5ABFB #CAA5FB #F5A5FB
triadic
#CAA5FB #FBCAA5 #A5FBCA
tetradic
#CAA5FB #FBA5AB #D6FBA5 #A5FBF5
square
#CAA5FB #FBA5AB #D6FBA5 #A5FBF5
split-complementary
#CAA5FB #FBF5A5 #ABFBA5
monochromatic
#8530F6 #A76AF8 #CAA5FB #EDE0FE #EEE2FE

Accessibility & contrast

On white

2.04
#CAA5FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CAA5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5FB
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5FB#FFFFFF#000000##000000
##CAA5FB1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FE
Deuteranopia (green-blind)
#9AB5F9
Tritanopia (blue-blind)
#C2B2C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #caa5fb;
/* rgb */ color: rgb(202, 165, 251);
/* oklch */ color: oklch(78.6% 0.125 303.4);
Tailwind
colors: {
  custom: {
    50: '#dbc0fd',
    500: '#caa5fb',
    950: '#000000',
  },
}
SCSS
$custom: #caa5fb;
$custom-light: #dbc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5fb",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 265.814,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.12511,
    "h": 303.4
  },
  "luminance": 0.46432
}

Semantic roles & 50–950 ramp

primary
#CAA5FB
secondary
#E8F6D5
accent
#E60083
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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