#9D2F95#9D2F95

#9D2F95 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 331.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9D2F95
RGBrgb(157, 47, 149)
HSLhsl(304, 54%, 40%)
HSVhsv(304, 70%, 62%)
CMYKcmyk(0%, 70.1%, 5.1%, 38.4%)
CIE-LABlab(40.20, 56.85, -32.59)
CIE-LCHlch(40.20, 65.53, 330.18°)
OKLaboklab(50.88% 0.162 -0.0897)
OKLCHoklch(50.88% 0.185 331)
XYZxyz(20.3459, 11.3726, 29.5515)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F95 #2F9D37
analogous
#6E2F9D #9D2F95 #9D2F5E
triadic
#9D2F95 #959D2F #2F959D
tetradic
#9D2F95 #9D6E2F #2F9D37 #2F5E9D
square
#9D2F95 #9D6E2F #2F9D37 #2F5E9D
split-complementary
#9D2F95 #5E9D2F #2F9D6E
monochromatic
#3F133C #6E2168 #9D2F95 #C743BD #D572CD

Accessibility & contrast

On white

6.41
#9D2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F95
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F95#FFFFFF#000000##FFFFFF
##9D2F951.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A33B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2f95;
/* rgb */ color: rgb(157, 47, 149);
/* oklch */ color: oklch(50.9% 0.185 331.0);
Tailwind
colors: {
  custom: {
    50: '#bd72b4',
    500: '#9d2f95',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f95;
$custom-light: #bd72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f95",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 304.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.18515,
    "h": 331
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#9D2F95
secondary
#6BBC71
accent
#DD554B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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