#9D15A0#9D15A0

#9D15A0 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.217 H 327.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9D15A0
RGBrgb(157, 21, 160)
HSLhsl(299, 77%, 35%)
HSVhsv(299, 87%, 63%)
CMYKcmyk(1.9%, 86.9%, 0%, 37.3%)
CIE-LABlab(38.28, 65.99, -42.30)
CIE-LCHlch(38.28, 78.38, 327.34°)
OKLaboklab(49.71% 0.1828 -0.1177)
OKLCHoklch(49.71% 0.217 327.2)
XYZxyz(20.5176, 10.2440, 34.1475)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D15A0 #18A015
analogous
#5715A0 #9D15A0 #A0155D
triadic
#9D15A0 #A09D15 #15A09D
tetradic
#9D15A0 #A05715 #18A015 #155DA0
square
#9D15A0 #A05715 #18A015 #155DA0
split-complementary
#9D15A0 #5DA015 #15A057
monochromatic
#330734 #680E6A #9D15A0 #D21CD6 #E448E7

Accessibility & contrast

On white

6.89
#9D15A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D15A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D15A0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D15A0#FFFFFF#000000##FFFFFF
##9D15A01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#3F609D
Tritanopia (blue-blind)
#A2325F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d15a0;
/* rgb */ color: rgb(157, 21, 160);
/* oklch */ color: oklch(49.7% 0.217 327.2);
Tailwind
colors: {
  custom: {
    50: '#be69bd',
    500: '#9d15a0',
    950: '#000000',
  },
}
SCSS
$custom: #9d15a0;
$custom-light: #be69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d15a0",
  "rgb": {
    "r": 157,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 298.705,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49709,
    "c": 0.21738,
    "h": 327.2
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#9D15A0
secondary
#4BC849
accent
#F33439
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9D15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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