#9D2F92#9D2F92

#9D2F92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.183 H 332.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9D2F92
RGBrgb(157, 47, 146)
HSLhsl(306, 54%, 40%)
HSVhsv(306, 70%, 62%)
CMYKcmyk(0%, 70.1%, 7%, 38.4%)
CIE-LABlab(40.05, 56.36, -31.02)
CIE-LCHlch(40.05, 64.33, 331.18°)
OKLaboklab(50.72% 0.1618 -0.0851)
OKLCHoklch(50.72% 0.183 332.2)
XYZxyz(20.1095, 11.2781, 28.3063)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F92 #2F9D3A
analogous
#712F9D #9D2F92 #9D2F5B
triadic
#9D2F92 #929D2F #2F929D
tetradic
#9D2F92 #9D712F #2F9D3A #2F5B9D
square
#9D2F92 #9D712F #2F9D3A #2F5B9D
split-complementary
#9D2F92 #5B9D2F #2F9D71
monochromatic
#3F133A #6E2166 #9D2F92 #C743B9 #D572CB

Accessibility & contrast

On white

6.45
#9D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2F92
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F92#FFFFFF#000000##FFFFFF
##9D2F921.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#51648F
Tritanopia (blue-blind)
#A43A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2f92;
/* rgb */ color: rgb(157, 47, 146);
/* oklch */ color: oklch(50.7% 0.183 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd72b2',
    500: '#9d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f92;
$custom-light: #bd72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f92",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 306,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.18282,
    "h": 332.2
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#9D2F92
secondary
#6BBC74
accent
#DD594B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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