#9D188C#9D188C

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

Color values

HEX#9D188C
RGBrgb(157, 24, 140)
HSLhsl(308, 73%, 35%)
HSVhsv(308, 85%, 62%)
CMYKcmyk(0%, 84.7%, 10.8%, 38.4%)
CIE-LABlab(37.33, 62.31, -31.63)
CIE-LCHlch(37.33, 69.88, 333.09°)
OKLaboklab(48.66% 0.1816 -0.0867)
OKLCHoklch(48.66% 0.201 334.5)
XYZxyz(18.9651, 9.7166, 25.6825)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D188C #189D29
analogous
#6B189D #9D188C #9D1849
triadic
#9D188C #8C9D18 #188C9D
tetradic
#9D188C #9D6B18 #189D29 #18499D
square
#9D188C #9D6B18 #189D29 #18499D
split-complementary
#9D188C #499D18 #189D6B
monochromatic
#33082D #68105D #9D188C #D220BB #E44CD0

Accessibility & contrast

On white

7.14
#9D188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D188C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D188C#FFFFFF#000000##FFFFFF
##9D188C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#4C5E89
Tritanopia (blue-blind)
#A52854
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d188c;
/* rgb */ color: rgb(157, 24, 140);
/* oklch */ color: oklch(48.7% 0.201 334.5);
Tailwind
colors: {
  custom: {
    50: '#be69ae',
    500: '#9d188c',
    950: '#000000',
  },
}
SCSS
$custom: #9d188c;
$custom-light: #be69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d188c",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 307.669,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.20126,
    "h": 334.5
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#9D188C
secondary
#4BC55B
accent
#F04F38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D188C

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

Preview Lab → · Contrast checker → · Palette generator →

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