#9D1889#9D1889

#9D1889 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.199 H 335.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D1889
RGBrgb(157, 24, 137)
HSLhsl(309, 73%, 35%)
HSVhsv(309, 85%, 62%)
CMYKcmyk(0%, 84.7%, 12.7%, 38.4%)
CIE-LABlab(37.17, 61.87, -30.03)
CIE-LCHlch(37.17, 68.78, 334.11°)
OKLaboklab(48.5% 0.1815 -0.0821)
OKLCHoklch(48.5% 0.199 335.6)
XYZxyz(18.7469, 9.6293, 24.5334)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1889 #189D2C
analogous
#6F189D #9D1889 #9D1846
triadic
#9D1889 #899D18 #18899D
tetradic
#9D1889 #9D6F18 #189D2C #18469D
square
#9D1889 #9D6F18 #189D2C #18469D
split-complementary
#9D1889 #469D18 #189D6F
monochromatic
#33082C #68105B #9D1889 #D220B7 #E44CCD

Accessibility & contrast

On white

7.18
#9D1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1889
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1889#FFFFFF#000000##FFFFFF
##9D18891.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A52652
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1889;
/* rgb */ color: rgb(157, 24, 137);
/* oklch */ color: oklch(48.5% 0.199 335.6);
Tailwind
colors: {
  custom: {
    50: '#be69ac',
    500: '#9d1889',
    950: '#000000',
  },
}
SCSS
$custom: #9d1889;
$custom-light: #be69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1889",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 309.023,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.19923,
    "h": 335.6
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#9D1889
secondary
#4BC55E
accent
#F05338
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1889

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

Preview Lab → · Contrast checker → · Palette generator →

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