#9D1E93#9D1E93

#9D1E93 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.201 H 331.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9D1E93
RGBrgb(157, 30, 147)
HSLhsl(305, 68%, 37%)
HSVhsv(305, 81%, 62%)
CMYKcmyk(0%, 80.9%, 6.4%, 38.4%)
CIE-LABlab(38.21, 61.92, -34.52)
CIE-LCHlch(38.21, 70.90, 330.86°)
OKLaboklab(49.41% 0.1775 -0.0951)
OKLCHoklch(49.41% 0.201 331.8)
XYZxyz(19.6354, 10.2049, 28.5337)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E93 #1E9D28
analogous
#681E9D #9D1E93 #9D1E54
triadic
#9D1E93 #939D1E #1E939D
tetradic
#9D1E93 #9D681E #1E9D28 #1E549D
square
#9D1E93 #9D681E #1E9D28 #1E549D
split-complementary
#9D1E93 #549D1E #1E9D68
monochromatic
#360A33 #6A1463 #9D1E93 #D028C3 #DF57D4

Accessibility & contrast

On white

6.91
#9D1E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D1E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E93
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E93#FFFFFF#000000##FFFFFF
##9D1E931.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A42F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1e93;
/* rgb */ color: rgb(157, 30, 147);
/* oklch */ color: oklch(49.4% 0.201 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6bb3',
    500: '#9d1e93',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e93;
$custom-light: #be6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e93",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 304.724,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.20141,
    "h": 331.8
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#9D1E93
secondary
#54C25D
accent
#EB4B3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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