#CA91DB#CA91DB

#CA91DB is a light, vivid purple. Relative luminance 0.379; OKLCH L 73.7% C 0.121 H 318.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CA91DB
RGBrgb(202, 145, 219)
HSLhsl(286, 51%, 71%)
HSVhsv(286, 34%, 86%)
CMYKcmyk(7.8%, 33.8%, 0%, 14.1%)
CIE-LABlab(67.96, 34.22, -29.34)
CIE-LCHlch(67.96, 45.08, 319.39°)
OKLaboklab(73.75% 0.09 -0.0803)
OKLCHoklch(73.75% 0.121 318.3)
XYZxyz(47.2669, 37.9230, 71.8340)
Luminance0.3792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91DB #A2DB91
analogous
#A591DB #CA91DB #DB91C7
triadic
#CA91DB #DBCA91 #91DBCA
tetradic
#CA91DB #DBA591 #A2DB91 #91C7DB
square
#CA91DB #DBA591 #A2DB91 #91C7DB
split-complementary
#CA91DB #C7DB91 #91DBA5
monochromatic
#9A3CB6 #B463CC #CA91DB #E0BFEA #F4E8F7

Accessibility & contrast

On white

2.45
#CA91DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CA91DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91DB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91DB#FFFFFF#000000##000000
##CA91DB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#CA9AAC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca91db;
/* rgb */ color: rgb(202, 145, 219);
/* oklch */ color: oklch(73.7% 0.121 318.3);
Tailwind
colors: {
  custom: {
    50: '#dbb2e6',
    500: '#ca91db',
    950: '#000000',
  },
}
SCSS
$custom: #ca91db;
$custom-light: #dbb2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91db",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 286.216,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73746,
    "c": 0.12062,
    "h": 318.3
  },
  "luminance": 0.37922
}

Semantic roles & 50–950 ramp

primary
#CA91DB
secondary
#DFEEDA
accent
#BE274A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA91DB

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

Preview Lab → · Contrast checker → · Palette generator →

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