#9D188F#9D188F

#9D188F is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.203 H 333.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D188F
RGBrgb(157, 24, 143)
HSLhsl(306, 73%, 35%)
HSVhsv(306, 85%, 62%)
CMYKcmyk(0%, 84.7%, 8.9%, 38.4%)
CIE-LABlab(37.49, 62.75, -33.21)
CIE-LCHlch(37.49, 71.00, 332.11°)
OKLaboklab(48.83% 0.1817 -0.0913)
OKLCHoklch(48.83% 0.203 333.3)
XYZxyz(19.1893, 9.8063, 26.8634)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D188F #189D26
analogous
#68189D #9D188F #9D184C
triadic
#9D188F #8F9D18 #188F9D
tetradic
#9D188F #9D6818 #189D26 #184C9D
square
#9D188F #9D6818 #189D26 #184C9D
split-complementary
#9D188F #4C9D18 #189D68
monochromatic
#33082E #68105F #9D188F #D220BF #E44CD4

Accessibility & contrast

On white

7.09
#9D188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D188F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D188F#FFFFFF#000000##FFFFFF
##9D188F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#A42955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d188f;
/* rgb */ color: rgb(157, 24, 143);
/* oklch */ color: oklch(48.8% 0.203 333.3);
Tailwind
colors: {
  custom: {
    50: '#be69b0',
    500: '#9d188f',
    950: '#000000',
  },
}
SCSS
$custom: #9d188f;
$custom-light: #be69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d188f",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 306.316,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48833,
    "c": 0.20333,
    "h": 333.3
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#9D188F
secondary
#4BC558
accent
#F04B38
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D188F

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

Preview Lab → · Contrast checker → · Palette generator →

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