#9D1E9B#9D1E9B

#9D1E9B is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.207 H 328.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D1E9B
RGBrgb(157, 30, 155)
HSLhsl(301, 68%, 37%)
HSVhsv(301, 81%, 62%)
CMYKcmyk(0%, 80.9%, 1.3%, 38.4%)
CIE-LABlab(38.66, 63.18, -38.66)
CIE-LCHlch(38.66, 74.07, 328.54°)
OKLaboklab(49.89% 0.1774 -0.1072)
OKLCHoklch(49.89% 0.207 328.9)
XYZxyz(20.2851, 10.4648, 31.9555)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E9B #1E9D20
analogous
#601E9D #9D1E9B #9D1E5C
triadic
#9D1E9B #9B9D1E #1E9B9D
tetradic
#9D1E9B #9D601E #1E9D20 #1E5C9D
square
#9D1E9B #9D601E #1E9D20 #1E5C9D
split-complementary
#9D1E9B #5C9D1E #1E9D60
monochromatic
#360A36 #6A1468 #9D1E9B #D028CE #DF57DD

Accessibility & contrast

On white

6.79
#9D1E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D1E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E9B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E9B#FFFFFF#000000##FFFFFF
##9D1E9B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#A2345D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1e9b;
/* rgb */ color: rgb(157, 30, 155);
/* oklch */ color: oklch(49.9% 0.207 328.9);
Tailwind
colors: {
  custom: {
    50: '#be6bb9',
    500: '#9d1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e9b;
$custom-light: #be6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e9b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 300.945,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.20725,
    "h": 328.9
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#9D1E9B
secondary
#54C256
accent
#EB403D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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