#9D188E#9D188E

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

Color values

HEX#9D188E
RGBrgb(157, 24, 142)
HSLhsl(307, 73%, 35%)
HSVhsv(307, 85%, 62%)
CMYKcmyk(0%, 84.7%, 9.6%, 38.4%)
CIE-LABlab(37.44, 62.60, -32.68)
CIE-LCHlch(37.44, 70.62, 332.43°)
OKLaboklab(48.78% 0.1817 -0.0898)
OKLCHoklch(48.78% 0.203 333.7)
XYZxyz(19.1139, 9.7761, 26.4663)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D188E #189D27
analogous
#69189D #9D188E #9D184B
triadic
#9D188E #8E9D18 #188E9D
tetradic
#9D188E #9D6918 #189D27 #184B9D
square
#9D188E #9D6918 #189D27 #184B9D
split-complementary
#9D188E #4B9D18 #189D69
monochromatic
#33082E #68105E #9D188E #D220BE #E44CD2

Accessibility & contrast

On white

7.11
#9D188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D188E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D188E#FFFFFF#000000##FFFFFF
##9D188E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A52955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d188e;
/* rgb */ color: rgb(157, 24, 142);
/* oklch */ color: oklch(48.8% 0.203 333.7);
Tailwind
colors: {
  custom: {
    50: '#be69af',
    500: '#9d188e',
    950: '#000000',
  },
}
SCSS
$custom: #9d188e;
$custom-light: #be69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d188e",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 306.767,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.20264,
    "h": 333.7
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#9D188E
secondary
#4BC559
accent
#F04C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D188E

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

Preview Lab → · Contrast checker → · Palette generator →

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