#9D188B#9D188B

#9D188B is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.201 H 334.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D188B
RGBrgb(157, 24, 139)
HSLhsl(308, 73%, 35%)
HSVhsv(308, 85%, 62%)
CMYKcmyk(0%, 84.7%, 11.5%, 38.4%)
CIE-LABlab(37.28, 62.16, -31.10)
CIE-LCHlch(37.28, 69.51, 333.42°)
OKLaboklab(48.61% 0.1816 -0.0852)
OKLCHoklch(48.61% 0.201 334.9)
XYZxyz(18.8917, 9.6872, 25.2960)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D188B #189D2A
analogous
#6C189D #9D188B #9D1849
triadic
#9D188B #8B9D18 #188B9D
tetradic
#9D188B #9D6C18 #189D2A #18499D
square
#9D188B #9D6C18 #189D2A #18499D
split-complementary
#9D188B #499D18 #189D6C
monochromatic
#33082D #68105C #9D188B #D220BA #E44CCF

Accessibility & contrast

On white

7.15
#9D188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D188B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D188B#FFFFFF#000000##FFFFFF
##9D188B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#A52753
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d188b;
/* rgb */ color: rgb(157, 24, 139);
/* oklch */ color: oklch(48.6% 0.201 334.9);
Tailwind
colors: {
  custom: {
    50: '#be69ad',
    500: '#9d188b',
    950: '#000000',
  },
}
SCSS
$custom: #9d188b;
$custom-light: #be69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d188b",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 308.12,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.20058,
    "h": 334.9
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#9D188B
secondary
#4BC55C
accent
#F05138
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D188B

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

Preview Lab → · Contrast checker → · Palette generator →

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