#9E198C#9E198C

#9E198C is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 334.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E198C
RGBrgb(158, 25, 140)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 84.2%, 11.4%, 38%)
CIE-LABlab(37.59, 62.30, -31.20)
CIE-LCHlch(37.59, 69.67, 333.39°)
OKLaboklab(48.88% 0.1819 -0.0855)
OKLCHoklch(48.88% 0.201 334.8)
XYZxyz(19.1821, 9.8596, 25.6987)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198C #199E2B
analogous
#6D199E #9E198C #9E1949
triadic
#9E198C #8C9E19 #198C9E
tetradic
#9E198C #9E6D19 #199E2B #19499E
square
#9E198C #9E6D19 #199E2B #19499E
split-complementary
#9E198C #499E19 #199E6D
monochromatic
#34082E #69115D #9E198C #D321BB #E34ECF

Accessibility & contrast

On white

7.07
#9E198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E198C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198C#FFFFFF#000000##FFFFFF
##9E198C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#A62854
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e198c;
/* rgb */ color: rgb(158, 25, 140);
/* oklch */ color: oklch(48.9% 0.201 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf69ae',
    500: '#9e198c',
    950: '#000000',
  },
}
SCSS
$custom: #9e198c;
$custom-light: #bf69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198c",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 308.12,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.20101,
    "h": 334.8
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#9E198C
secondary
#4EC55E
accent
#EF5138
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198C

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

Preview Lab → · Contrast checker → · Palette generator →

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