#9D1E95#9D1E95

#9D1E95 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 331.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D1E95
RGBrgb(157, 30, 149)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 62%)
CMYKcmyk(0%, 80.9%, 5.1%, 38.4%)
CIE-LABlab(38.32, 62.23, -35.57)
CIE-LCHlch(38.32, 71.68, 330.25°)
OKLaboklab(49.53% 0.1775 -0.0982)
OKLCHoklch(49.53% 0.203 331.1)
XYZxyz(19.7937, 10.2682, 29.3674)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E95 #1E9D26
analogous
#661E9D #9D1E95 #9D1E55
triadic
#9D1E95 #959D1E #1E959D
tetradic
#9D1E95 #9D661E #1E9D26 #1E559D
square
#9D1E95 #9D661E #1E9D26 #1E559D
split-complementary
#9D1E95 #559D1E #1E9D66
monochromatic
#360A33 #6A1464 #9D1E95 #D028C6 #DF57D6

Accessibility & contrast

On white

6.88
#9D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1E95
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E95#FFFFFF#000000##FFFFFF
##9D1E951.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A3305A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1e95;
/* rgb */ color: rgb(157, 30, 149);
/* oklch */ color: oklch(49.5% 0.203 331.1);
Tailwind
colors: {
  custom: {
    50: '#be6bb4',
    500: '#9d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e95;
$custom-light: #be6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e95",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 303.78,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.20286,
    "h": 331.1
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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