#9D1A93#9D1A93

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

Color values

HEX#9D1A93
RGBrgb(157, 26, 147)
HSLhsl(305, 72%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 83.4%, 6.4%, 38.4%)
CIE-LABlab(37.87, 62.90, -35.06)
CIE-LCHlch(37.87, 72.01, 330.87°)
OKLaboklab(49.17% 0.1804 -0.0967)
OKLCHoklch(49.17% 0.205 331.8)
XYZxyz(19.5405, 10.0152, 28.5021)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A93 #1A9D24
analogous
#651A9D #9D1A93 #9D1A51
triadic
#9D1A93 #939D1A #1A939D
tetradic
#9D1A93 #9D651A #1A9D24 #1A519D
square
#9D1A93 #9D651A #1A9D24 #1A519D
split-complementary
#9D1A93 #519D1A #1A9D65
monochromatic
#340931 #681162 #9D1A93 #D223C4 #E24FD7

Accessibility & contrast

On white

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

On black

3.00
#9D1A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D1A93#FFFFFF#000000##FFFFFF
##9D1A931.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#A42D58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1a93;
/* rgb */ color: rgb(157, 26, 147);
/* oklch */ color: oklch(49.2% 0.205 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6ab3',
    500: '#9d1a93',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a93;
$custom-light: #be6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a93",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 304.58,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.20465,
    "h": 331.8
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#9D1A93
secondary
#4EC457
accent
#EE4739
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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