#9D1B92#9D1B92

#9D1B92 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.203 H 332.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D1B92
RGBrgb(157, 27, 146)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 82.8%, 7%, 38.4%)
CIE-LABlab(37.89, 62.52, -34.41)
CIE-LCHlch(37.89, 71.36, 331.17°)
OKLaboklab(49.17% 0.1797 -0.0948)
OKLCHoklch(49.17% 0.203 332.2)
XYZxyz(19.4849, 10.0290, 28.0981)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B92 #1B9D26
analogous
#671B9D #9D1B92 #9D1B51
triadic
#9D1B92 #929D1B #1B929D
tetradic
#9D1B92 #9D671B #1B9D26 #1B519D
square
#9D1B92 #9D671B #1B9D26 #1B519D
split-complementary
#9D1B92 #519D1B #1B9D67
monochromatic
#350931 #691261 #9D1B92 #D124C3 #E151D5

Accessibility & contrast

On white

6.99
#9D1B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D1B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1B92
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B92#FFFFFF#000000##FFFFFF
##9D1B921.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#4A5F8F
Tritanopia (blue-blind)
#A42D58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1b92;
/* rgb */ color: rgb(157, 27, 146);
/* oklch */ color: oklch(49.2% 0.203 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6ab2',
    500: '#9d1b92',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b92;
$custom-light: #be6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b92",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 305.077,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.20315,
    "h": 332.2
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#9D1B92
secondary
#50C45A
accent
#ED4A3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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