#CA91DC#CA91DC

#CA91DC is a light, vivid purple. Relative luminance 0.380; OKLCH L 73.8% C 0.122 H 317.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CA91DC
RGBrgb(202, 145, 220)
HSLhsl(286, 52%, 72%)
HSVhsv(286, 34%, 86%)
CMYKcmyk(8.2%, 34.1%, 0%, 13.7%)
CIE-LABlab(68.00, 34.42, -29.84)
CIE-LCHlch(68.00, 45.55, 319.08°)
OKLaboklab(73.79% 0.0903 -0.0817)
OKLCHoklch(73.79% 0.122 317.9)
XYZxyz(47.3990, 37.9758, 72.5294)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA91DC #A3DC91
analogous
#A591DC #CA91DC #DC91C9
triadic
#CA91DC #DCCA91 #91DCCA
tetradic
#CA91DC #DCA591 #A3DC91 #91C9DC
square
#CA91DC #DCA591 #A3DC91 #91C9DC
split-complementary
#CA91DC #C9DC91 #91DCA5
monochromatic
#9A3BB8 #B463CD #CA91DC #E0BFEB #F4E8F8

Accessibility & contrast

On white

2.44
#CA91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CA91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA91DC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA91DC#FFFFFF#000000##000000
##CA91DC1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#94A8DA
Tritanopia (blue-blind)
#CA9AAD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca91dc;
/* rgb */ color: rgb(202, 145, 220);
/* oklch */ color: oklch(73.8% 0.122 317.9);
Tailwind
colors: {
  custom: {
    50: '#dbb2e7',
    500: '#ca91dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca91dc;
$custom-light: #dbb2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca91dc",
  "rgb": {
    "r": 202,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 285.6,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73789,
    "c": 0.12174,
    "h": 317.9
  },
  "luminance": 0.37975
}

Semantic roles & 50–950 ramp

primary
#CA91DC
secondary
#DFEEDB
accent
#BF264B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CA91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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