#9D1E9A#9D1E9A

#9D1E9A is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.207 H 329.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1E9A
RGBrgb(157, 30, 154)
HSLhsl(301, 68%, 37%)
HSVhsv(301, 81%, 62%)
CMYKcmyk(0%, 80.9%, 1.9%, 38.4%)
CIE-LABlab(38.61, 63.02, -38.15)
CIE-LCHlch(38.61, 73.67, 328.81°)
OKLaboklab(49.83% 0.1774 -0.1057)
OKLCHoklch(49.83% 0.207 329.2)
XYZxyz(20.2015, 10.4313, 31.5150)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E9A #1E9D21
analogous
#611E9D #9D1E9A #9D1E5B
triadic
#9D1E9A #9A9D1E #1E9A9D
tetradic
#9D1E9A #9D611E #1E9D21 #1E5B9D
square
#9D1E9A #9D611E #1E9D21 #1E5B9D
split-complementary
#9D1E9A #5B9D1E #1E9D61
monochromatic
#360A35 #6A1468 #9D1E9A #D028CC #DF57DC

Accessibility & contrast

On white

6.80
#9D1E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1E9A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E9A#FFFFFF#000000##FFFFFF
##9D1E9A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A3335D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1e9a;
/* rgb */ color: rgb(157, 30, 154);
/* oklch */ color: oklch(49.8% 0.207 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6bb8',
    500: '#9d1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e9a;
$custom-light: #be6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e9a",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 301.417,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.20651,
    "h": 329.2
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#9D1E9A
secondary
#54C257
accent
#EB413D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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