#9D1E8D#9D1E8D

#9D1E8D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.197 H 334.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D1E8D
RGBrgb(157, 30, 141)
HSLhsl(308, 68%, 37%)
HSVhsv(308, 81%, 62%)
CMYKcmyk(0%, 80.9%, 10.2%, 38.4%)
CIE-LABlab(37.88, 61.01, -31.37)
CIE-LCHlch(37.88, 68.60, 332.79°)
OKLaboklab(49.08% 0.1774 -0.086)
OKLCHoklch(49.08% 0.197 334.1)
XYZxyz(19.1768, 10.0215, 26.1185)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E8D #1E9D2E
analogous
#6E1E9D #9D1E8D #9D1E4E
triadic
#9D1E8D #8D9D1E #1E8D9D
tetradic
#9D1E8D #9D6E1E #1E9D2E #1E4E9D
square
#9D1E8D #9D6E1E #1E9D2E #1E4E9D
split-complementary
#9D1E8D #4E9D1E #1E9D6E
monochromatic
#360A31 #6A145F #9D1E8D #D028BB #DF57CE

Accessibility & contrast

On white

6.99
#9D1E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9D1E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E8D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E8D#FFFFFF#000000##FFFFFF
##9D1E8D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A52C55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1e8d;
/* rgb */ color: rgb(157, 30, 141);
/* oklch */ color: oklch(49.1% 0.197 334.1);
Tailwind
colors: {
  custom: {
    50: '#be6baf',
    500: '#9d1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e8d;
$custom-light: #be6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e8d",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 307.559,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.19715,
    "h": 334.1
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#9D1E8D
secondary
#54C262
accent
#EB533D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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