#9D2F91#9D2F91

#9D2F91 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.182 H 332.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D2F91
RGBrgb(157, 47, 145)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 70%, 62%)
CMYKcmyk(0%, 70.1%, 7.6%, 38.4%)
CIE-LABlab(39.99, 56.20, -30.49)
CIE-LCHlch(39.99, 63.94, 331.52°)
OKLaboklab(50.66% 0.1617 -0.0836)
OKLCHoklch(50.66% 0.182 332.7)
XYZxyz(20.0320, 11.2471, 27.8984)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F91 #2F9D3B
analogous
#722F9D #9D2F91 #9D2F5A
triadic
#9D2F91 #919D2F #2F919D
tetradic
#9D2F91 #9D722F #2F9D3B #2F5A9D
square
#9D2F91 #9D722F #2F9D3B #2F5A9D
split-complementary
#9D2F91 #5A9D2F #2F9D72
monochromatic
#3F133A #6E2166 #9D2F91 #C743B8 #D572CA

Accessibility & contrast

On white

6.46
#9D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F91
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F91#FFFFFF#000000##FFFFFF
##9D2F911.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A43A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2f91;
/* rgb */ color: rgb(157, 47, 145);
/* oklch */ color: oklch(50.7% 0.182 332.7);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f91;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f91",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 306.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50662,
    "c": 0.18204,
    "h": 332.7
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#9D2F91
secondary
#6BBC74
accent
#DD5B4B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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