#9D1888#9D1888

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

Color values

HEX#9D1888
RGBrgb(157, 24, 136)
HSLhsl(309, 73%, 35%)
HSVhsv(309, 85%, 62%)
CMYKcmyk(0%, 84.7%, 13.4%, 38.4%)
CIE-LABlab(37.12, 61.73, -29.50)
CIE-LCHlch(37.12, 68.42, 334.46°)
OKLaboklab(48.44% 0.1815 -0.0806)
OKLCHoklch(48.44% 0.199 336)
XYZxyz(18.6755, 9.6007, 24.1574)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1888 #189D2D
analogous
#70189D #9D1888 #9D1845
triadic
#9D1888 #889D18 #18889D
tetradic
#9D1888 #9D7018 #189D2D #18459D
square
#9D1888 #9D7018 #189D2D #18459D
split-complementary
#9D1888 #459D18 #189D70
monochromatic
#33082C #68105A #9D1888 #D220B6 #E44CCC

Accessibility & contrast

On white

7.19
#9D1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1888
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1888#FFFFFF#000000##FFFFFF
##9D18881.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#A52551
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1888;
/* rgb */ color: rgb(157, 24, 136);
/* oklch */ color: oklch(48.4% 0.199 336.0);
Tailwind
colors: {
  custom: {
    50: '#be69ab',
    500: '#9d1888',
    950: '#000000',
  },
}
SCSS
$custom: #9d1888;
$custom-light: #be69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1888",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 309.474,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.19856,
    "h": 336
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#9D1888
secondary
#4BC55F
accent
#F05538
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1888

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

Preview Lab → · Contrast checker → · Palette generator →

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