#9D188A#9D188A

#9D188A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.200 H 335.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9D188A
RGBrgb(157, 24, 138)
HSLhsl(309, 73%, 35%)
HSVhsv(309, 85%, 62%)
CMYKcmyk(0%, 84.7%, 12.1%, 38.4%)
CIE-LABlab(37.22, 62.02, -30.56)
CIE-LCHlch(37.22, 69.14, 333.76°)
OKLaboklab(48.55% 0.1816 -0.0837)
OKLCHoklch(48.55% 0.2 335.3)
XYZxyz(18.8190, 9.6581, 24.9129)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D188A #189D2B
analogous
#6D189D #9D188A #9D1848
triadic
#9D188A #8A9D18 #188A9D
tetradic
#9D188A #9D6D18 #189D2B #18489D
square
#9D188A #9D6D18 #189D2B #18489D
split-complementary
#9D188A #489D18 #189D6D
monochromatic
#33082D #68105B #9D188A #D220B9 #E44CCE

Accessibility & contrast

On white

7.16
#9D188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D188A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D188A#FFFFFF#000000##FFFFFF
##9D188A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#A52652
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d188a;
/* rgb */ color: rgb(157, 24, 138);
/* oklch */ color: oklch(48.6% 0.200 335.3);
Tailwind
colors: {
  custom: {
    50: '#be69ac',
    500: '#9d188a',
    950: '#000000',
  },
}
SCSS
$custom: #9d188a;
$custom-light: #be69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d188a",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 308.571,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.19991,
    "h": 335.3
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#9D188A
secondary
#4BC55D
accent
#F05238
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D188A

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

Preview Lab → · Contrast checker → · Palette generator →

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