#9D1E8B#9D1E8B

#9D1E8B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 334.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D1E8B
RGBrgb(157, 30, 139)
HSLhsl(309, 68%, 37%)
HSVhsv(309, 81%, 62%)
CMYKcmyk(0%, 80.9%, 11.5%, 38.4%)
CIE-LABlab(37.77, 60.72, -30.31)
CIE-LCHlch(37.77, 67.86, 333.47°)
OKLaboklab(48.97% 0.1773 -0.083)
OKLCHoklch(48.97% 0.196 334.9)
XYZxyz(19.0294, 9.9625, 25.3418)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E8B #1E9D30
analogous
#701E9D #9D1E8B #9D1E4C
triadic
#9D1E8B #8B9D1E #1E8B9D
tetradic
#9D1E8B #9D701E #1E9D30 #1E4C9D
square
#9D1E8B #9D701E #1E9D30 #1E4C9D
split-complementary
#9D1E8B #4C9D1E #1E9D70
monochromatic
#360A30 #6A145E #9D1E8B #D028B8 #DF57CC

Accessibility & contrast

On white

7.02
#9D1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E8B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E8B#FFFFFF#000000##FFFFFF
##9D1E8B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A52B54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1e8b;
/* rgb */ color: rgb(157, 30, 139);
/* oklch */ color: oklch(49.0% 0.196 334.9);
Tailwind
colors: {
  custom: {
    50: '#be6aad',
    500: '#9d1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e8b;
$custom-light: #be6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e8b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 308.504,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.19575,
    "h": 334.9
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#9D1E8B
secondary
#54C264
accent
#EB563D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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