#9E198A#9E198A

#9E198A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.200 H 335.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E198A
RGBrgb(158, 25, 138)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 84.2%, 12.7%, 38%)
CIE-LABlab(37.48, 62.01, -30.14)
CIE-LCHlch(37.48, 68.94, 334.08°)
OKLaboklab(48.77% 0.1818 -0.0824)
OKLCHoklch(48.77% 0.2 335.6)
XYZxyz(19.0359, 9.8012, 24.9291)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198A #199E2D
analogous
#6F199E #9E198A #9E1947
triadic
#9E198A #8A9E19 #198A9E
tetradic
#9E198A #9E6F19 #199E2D #19479E
square
#9E198A #9E6F19 #199E2D #19479E
split-complementary
#9E198A #479E19 #199E6F
monochromatic
#34082E #69115C #9E198A #D321B8 #E34ECD

Accessibility & contrast

On white

7.10
#9E198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E198A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198A#FFFFFF#000000##FFFFFF
##9E198A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#A62653
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e198a;
/* rgb */ color: rgb(158, 25, 138);
/* oklch */ color: oklch(48.8% 0.200 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf69ac',
    500: '#9e198a',
    950: '#000000',
  },
}
SCSS
$custom: #9e198a;
$custom-light: #bf69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198a",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 309.023,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.19966,
    "h": 335.6
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#9E198A
secondary
#4EC560
accent
#EF5438
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198A

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

Preview Lab → · Contrast checker → · Palette generator →

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