#9D1F92#9D1F92

#9D1F92 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 332.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9D1F92
RGBrgb(157, 31, 146)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 80%, 62%)
CMYKcmyk(0%, 80.3%, 7%, 38.4%)
CIE-LABlab(38.24, 61.51, -33.86)
CIE-LCHlch(38.24, 70.21, 331.17°)
OKLaboklab(49.42% 0.1767 -0.0932)
OKLCHoklch(49.42% 0.2 332.2)
XYZxyz(19.5830, 10.2251, 28.1308)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F92 #1F9D2A
analogous
#691F9D #9D1F92 #9D1F53
triadic
#9D1F92 #929D1F #1F929D
tetradic
#9D1F92 #9D691F #1F9D2A #1F539D
square
#9D1F92 #9D691F #1F9D2A #1F539D
split-complementary
#9D1F92 #539D1F #1F9D69
monochromatic
#370B33 #6A1562 #9D1F92 #D029C2 #DE58D2

Accessibility & contrast

On white

6.90
#9D1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D1F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1F92
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F92#FFFFFF#000000##FFFFFF
##9D1F921.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F95
Deuteranopia (green-blind)
#4B608F
Tritanopia (blue-blind)
#A42F58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1f92;
/* rgb */ color: rgb(157, 31, 146);
/* oklch */ color: oklch(49.4% 0.200 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6bb2',
    500: '#9d1f92',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f92;
$custom-light: #be6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f92",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 305.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.19982,
    "h": 332.2
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#9D1F92
secondary
#56C25F
accent
#EA4D3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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