#9D2E91#9D2E91

#9D2E91 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 332.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D2E91
RGBrgb(157, 46, 145)
HSLhsl(306, 55%, 40%)
HSVhsv(306, 71%, 62%)
CMYKcmyk(0%, 70.7%, 7.6%, 38.4%)
CIE-LABlab(39.86, 56.57, -30.70)
CIE-LCHlch(39.86, 64.36, 331.52°)
OKLaboklab(50.57% 0.1628 -0.0842)
OKLCHoklch(50.57% 0.183 332.6)
XYZxyz(19.9925, 11.1680, 27.8853)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E91 #2E9D3A
analogous
#712E9D #9D2E91 #9D2E5A
triadic
#9D2E91 #919D2E #2E919D
tetradic
#9D2E91 #9D712E #2E9D3A #2E5A9D
square
#9D2E91 #9D712E #2E9D3A #2E5A9D
split-complementary
#9D2E91 #5A9D2E #2E9D71
monochromatic
#3E123A #6E2065 #9D2E91 #C741B9 #D570CA

Accessibility & contrast

On white

6.50
#9D2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E91
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E91#FFFFFF#000000##FFFFFF
##9D2E911.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#51648E
Tritanopia (blue-blind)
#A4395C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e91;
/* rgb */ color: rgb(157, 46, 145);
/* oklch */ color: oklch(50.6% 0.183 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2e91',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e91;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e91",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 306.486,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.18327,
    "h": 332.6
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#9D2E91
secondary
#6ABD73
accent
#DE5A4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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