#9D2E96#9D2E96

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

Color values

HEX#9D2E96
RGBrgb(157, 46, 150)
HSLhsl(304, 55%, 40%)
HSVhsv(304, 71%, 62%)
CMYKcmyk(0%, 70.7%, 4.5%, 38.4%)
CIE-LABlab(40.12, 57.39, -33.32)
CIE-LCHlch(40.12, 66.36, 329.86°)
OKLaboklab(50.84% 0.1631 -0.0918)
OKLCHoklch(50.84% 0.187 330.6)
XYZxyz(20.3866, 11.3257, 29.9606)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E96 #2E9D35
analogous
#6D2E9D #9D2E96 #9D2E5E
triadic
#9D2E96 #969D2E #2E969D
tetradic
#9D2E96 #9D6D2E #2E9D35 #2E5E9D
square
#9D2E96 #9D6D2E #2E9D35 #2E5E9D
split-complementary
#9D2E96 #5E9D2E #2E9D6D
monochromatic
#3E123C #6E2069 #9D2E96 #C741BF #D570CF

Accessibility & contrast

On white

6.43
#9D2E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E96
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E96#FFFFFF#000000##FFFFFF
##9D2E961.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A33B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2e96;
/* rgb */ color: rgb(157, 46, 150);
/* oklch */ color: oklch(50.8% 0.187 330.6);
Tailwind
colors: {
  custom: {
    50: '#bd71b5',
    500: '#9d2e96',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e96;
$custom-light: #bd71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e96",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 303.784,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.18714,
    "h": 330.6
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#9D2E96
secondary
#6ABD6F
accent
#DE534A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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