#9D2E93#9D2E93

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

Color values

HEX#9D2E93
RGBrgb(157, 46, 147)
HSLhsl(305, 55%, 40%)
HSVhsv(305, 71%, 62%)
CMYKcmyk(0%, 70.7%, 6.4%, 38.4%)
CIE-LABlab(39.97, 56.90, -31.75)
CIE-LCHlch(39.97, 65.15, 330.84°)
OKLaboklab(50.68% 0.1629 -0.0872)
OKLCHoklch(50.68% 0.185 331.8)
XYZxyz(20.1481, 11.2303, 28.7046)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E93 #2E9D38
analogous
#6F2E9D #9D2E93 #9D2E5C
triadic
#9D2E93 #939D2E #2E939D
tetradic
#9D2E93 #9D6F2E #2E9D38 #2E5C9D
square
#9D2E93 #9D6F2E #2E9D38 #2E5C9D
split-complementary
#9D2E93 #5C9D2E #2E9D6F
monochromatic
#3E123A #6E2067 #9D2E93 #C741BB #D570CC

Accessibility & contrast

On white

6.47
#9D2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2E93
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E93#FFFFFF#000000##FFFFFF
##9D2E931.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#506490
Tritanopia (blue-blind)
#A43A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2e93;
/* rgb */ color: rgb(157, 46, 147);
/* oklch */ color: oklch(50.7% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#bd71b3',
    500: '#9d2e93',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e93;
$custom-light: #bd71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e93",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 305.405,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.18481,
    "h": 331.8
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#9D2E93
secondary
#6ABD72
accent
#DE574A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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