#9D189E#9D189E

#9D189E is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.214 H 327.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9D189E
RGBrgb(157, 24, 158)
HSLhsl(300, 74%, 36%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0.6%, 84.8%, 0%, 38%)
CIE-LABlab(38.36, 65.06, -40.96)
CIE-LCHlch(38.36, 76.88, 327.81°)
OKLaboklab(49.73% 0.1812 -0.1138)
OKLCHoklch(49.73% 0.214 327.9)
XYZxyz(20.4026, 10.2915, 33.2530)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D189E #199E18
analogous
#5A189E #9D189E #9E185C
triadic
#9D189E #9E9D18 #189E9D
tetradic
#9D189E #9E5A18 #199E18 #185C9E
square
#9D189E #9E5A18 #199E18 #185C9E
split-complementary
#9D189E #5C9E18 #189E5A
monochromatic
#330834 #681069 #9D189E #D220D3 #E34DE4

Accessibility & contrast

On white

6.87
#9D189E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D189E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D189E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D189E#FFFFFF#000000##FFFFFF
##9D189E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#A2335E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d189e;
/* rgb */ color: rgb(157, 24, 158);
/* oklch */ color: oklch(49.7% 0.214 327.9);
Tailwind
colors: {
  custom: {
    50: '#be6abb',
    500: '#9d189e',
    950: '#000000',
  },
}
SCSS
$custom: #9d189e;
$custom-light: #be6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d189e",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 299.552,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.21399,
    "h": 327.9
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#9D189E
secondary
#4DC64C
accent
#F03839
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9D189E

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

Preview Lab → · Contrast checker → · Palette generator →

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