#9D1E96#9D1E96

#9D1E96 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.204 H 330.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9D1E96
RGBrgb(157, 30, 150)
HSLhsl(303, 68%, 37%)
HSVhsv(303, 81%, 62%)
CMYKcmyk(0%, 80.9%, 4.5%, 38.4%)
CIE-LABlab(38.38, 62.39, -36.09)
CIE-LCHlch(38.38, 72.07, 329.96°)
OKLaboklab(49.59% 0.1775 -0.0997)
OKLCHoklch(49.59% 0.204 330.7)
XYZxyz(19.8739, 10.3003, 29.7897)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E96 #1E9D25
analogous
#651E9D #9D1E96 #9D1E57
triadic
#9D1E96 #969D1E #1E969D
tetradic
#9D1E96 #9D651E #1E9D25 #1E579D
square
#9D1E96 #9D651E #1E9D25 #1E579D
split-complementary
#9D1E96 #579D1E #1E9D65
monochromatic
#360A34 #6A1465 #9D1E96 #D028C7 #DF57D7

Accessibility & contrast

On white

6.86
#9D1E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D1E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E96
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E96#FFFFFF#000000##FFFFFF
##9D1E961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A3315A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1e96;
/* rgb */ color: rgb(157, 30, 150);
/* oklch */ color: oklch(49.6% 0.204 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6bb5',
    500: '#9d1e96',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e96;
$custom-light: #be6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e96",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 303.307,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.20358,
    "h": 330.7
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#9D1E96
secondary
#54C25B
accent
#EB473D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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