#9D1F89#9D1F89

#9D1F89 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.193 H 335.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D1F89
RGBrgb(157, 31, 137)
HSLhsl(310, 67%, 37%)
HSVhsv(310, 80%, 62%)
CMYKcmyk(0%, 80.3%, 12.7%, 38.4%)
CIE-LABlab(37.76, 60.15, -29.10)
CIE-LCHlch(37.76, 66.82, 334.19°)
OKLaboklab(48.92% 0.1764 -0.0795)
OKLCHoklch(48.92% 0.193 335.7)
XYZxyz(18.9103, 9.9560, 24.5878)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F89 #1F9D33
analogous
#721F9D #9D1F89 #9D1F4A
triadic
#9D1F89 #899D1F #1F899D
tetradic
#9D1F89 #9D721F #1F9D33 #1F4A9D
square
#9D1F89 #9D721F #1F9D33 #1F4A9D
split-complementary
#9D1F89 #4A9D1F #1F9D72
monochromatic
#370B30 #6A155C #9D1F89 #D029B6 #DE58C9

Accessibility & contrast

On white

7.02
#9D1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F89
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F89#FFFFFF#000000##FFFFFF
##9D1F891.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#4F5F86
Tritanopia (blue-blind)
#A52A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1f89;
/* rgb */ color: rgb(157, 31, 137);
/* oklch */ color: oklch(48.9% 0.193 335.7);
Tailwind
colors: {
  custom: {
    50: '#be6bac',
    500: '#9d1f89',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f89;
$custom-light: #be6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f89",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 309.524,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.19347,
    "h": 335.7
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#9D1F89
secondary
#56C267
accent
#EA593E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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