#9D15CA#9D15CA

#9D15CA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.6% C 0.249 H 314.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9D15CA
RGBrgb(157, 21, 202)
HSLhsl(285, 81%, 44%)
HSVhsv(285, 90%, 79%)
CMYKcmyk(22.3%, 89.6%, 0%, 20.8%)
CIE-LABlab(41.17, 73.23, -62.50)
CIE-LCHlch(41.17, 96.27, 319.52°)
OKLaboklab(52.64% 0.1751 -0.1769)
OKLCHoklch(52.64% 0.249 314.7)
XYZxyz(24.8317, 11.9696, 56.8680)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D15CA #42CA15
analogous
#4215CA #9D15CA #CA159C
triadic
#9D15CA #CA9D15 #15CA9D
tetradic
#9D15CA #CA4215 #42CA15 #159CCA
square
#9D15CA #CA4215 #42CA15 #159CCA
split-complementary
#9D15CA #9CCA15 #15CA42
monochromatic
#47095B #720F93 #9D15CA #BC32EA #CE6AEF

Accessibility & contrast

On white

6.19
#9D15CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9D15CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D15CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D15CA#FFFFFF#000000##FFFFFF
##9D15CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#994A78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d15ca;
/* rgb */ color: rgb(157, 21, 202);
/* oklch */ color: oklch(52.6% 0.249 314.7);
Tailwind
colors: {
  custom: {
    50: '#c06bdb',
    500: '#9d15ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d15ca;
$custom-light: #c06bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d15ca",
  "rgb": {
    "r": 157,
    "g": 21,
    "b": 202
  },
  "hsl": {
    "h": 285.083,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.24891,
    "h": 314.7
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#9D15CA
secondary
#82D566
accent
#F83062
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9D15CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D15CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva