#9D2E95#9D2E95

#9D2E95 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 331.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D2E95
RGBrgb(157, 46, 149)
HSLhsl(304, 55%, 40%)
HSVhsv(304, 71%, 62%)
CMYKcmyk(0%, 70.7%, 5.1%, 38.4%)
CIE-LABlab(40.07, 57.22, -32.80)
CIE-LCHlch(40.07, 65.95, 330.18°)
OKLaboklab(50.79% 0.163 -0.0903)
OKLCHoklch(50.79% 0.186 331)
XYZxyz(20.3064, 11.2936, 29.5383)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E95 #2E9D36
analogous
#6D2E9D #9D2E95 #9D2E5E
triadic
#9D2E95 #959D2E #2E959D
tetradic
#9D2E95 #9D6D2E #2E9D36 #2E5E9D
square
#9D2E95 #9D6D2E #2E9D36 #2E5E9D
split-complementary
#9D2E95 #5E9D2E #2E9D6D
monochromatic
#3E123B #6E2068 #9D2E95 #C741BE #D570CE

Accessibility & contrast

On white

6.44
#9D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9D2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E95
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E95#FFFFFF#000000##FFFFFF
##9D2E951.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A33B5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e95;
/* rgb */ color: rgb(157, 46, 149);
/* oklch */ color: oklch(50.8% 0.186 331.0);
Tailwind
colors: {
  custom: {
    50: '#bd71b4',
    500: '#9d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e95;
$custom-light: #bd71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e95",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 304.324,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50785,
    "c": 0.18636,
    "h": 331
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#9D2E95
secondary
#6ABD70
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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