#9D1E8F#9D1E8F

#9D1E8F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 333.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D1E8F
RGBrgb(157, 30, 143)
HSLhsl(307, 68%, 37%)
HSVhsv(307, 81%, 62%)
CMYKcmyk(0%, 80.9%, 8.9%, 38.4%)
CIE-LABlab(37.99, 61.31, -32.43)
CIE-LCHlch(37.99, 69.36, 332.13°)
OKLaboklab(49.19% 0.1775 -0.0891)
OKLCHoklch(49.19% 0.199 333.3)
XYZxyz(19.3270, 10.0815, 26.9093)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E8F #1E9D2C
analogous
#6C1E9D #9D1E8F #9D1E50
triadic
#9D1E8F #8F9D1E #1E8F9D
tetradic
#9D1E8F #9D6C1E #1E9D2C #1E509D
square
#9D1E8F #9D6C1E #1E9D2C #1E509D
split-complementary
#9D1E8F #509D1E #1E9D6C
monochromatic
#360A31 #6A1460 #9D1E8F #D028BE #DF57D0

Accessibility & contrast

On white

6.96
#9D1E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D1E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E8F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E8F#FFFFFF#000000##FFFFFF
##9D1E8F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A42D56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1e8f;
/* rgb */ color: rgb(157, 30, 143);
/* oklch */ color: oklch(49.2% 0.199 333.3);
Tailwind
colors: {
  custom: {
    50: '#be6bb0',
    500: '#9d1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e8f;
$custom-light: #be6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e8f",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 306.614,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.19856,
    "h": 333.3
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#9D1E8F
secondary
#54C261
accent
#EB503D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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