#9E198B#9E198B

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

Color values

HEX#9E198B
RGBrgb(158, 25, 139)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 84.2%, 12%, 38%)
CIE-LABlab(37.54, 62.15, -30.67)
CIE-LCHlch(37.54, 69.31, 333.73°)
OKLaboklab(48.83% 0.1819 -0.084)
OKLCHoklch(48.83% 0.2 335.2)
XYZxyz(19.1087, 9.8302, 25.3121)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198B #199E2C
analogous
#6E199E #9E198B #9E1949
triadic
#9E198B #8B9E19 #198B9E
tetradic
#9E198B #9E6E19 #199E2C #19499E
square
#9E198B #9E6E19 #199E2C #19499E
split-complementary
#9E198B #499E19 #199E6E
monochromatic
#34082E #69115D #9E198B #D321B9 #E34ECE

Accessibility & contrast

On white

7.08
#9E198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E198B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198B#FFFFFF#000000##FFFFFF
##9E198B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#A62753
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e198b;
/* rgb */ color: rgb(158, 25, 139);
/* oklch */ color: oklch(48.8% 0.200 335.2);
Tailwind
colors: {
  custom: {
    50: '#bf69ad',
    500: '#9e198b',
    950: '#000000',
  },
}
SCSS
$custom: #9e198b;
$custom-light: #bf69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198b",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 308.571,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.20033,
    "h": 335.2
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#9E198B
secondary
#4EC55F
accent
#EF5338
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198B

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

Preview Lab → · Contrast checker → · Palette generator →

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