#9E198D#9E198D

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

Color values

HEX#9E198D
RGBrgb(158, 25, 141)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 84.2%, 10.8%, 38%)
CIE-LABlab(37.64, 62.44, -31.73)
CIE-LCHlch(37.64, 70.04, 333.06°)
OKLaboklab(48.94% 0.182 -0.087)
OKLCHoklch(48.94% 0.202 334.4)
XYZxyz(19.2561, 9.8892, 26.0888)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198D #199E2A
analogous
#6C199E #9E198D #9E194A
triadic
#9E198D #8D9E19 #198D9E
tetradic
#9E198D #9E6C19 #199E2A #194A9E
square
#9E198D #9E6C19 #199E2A #194A9E
split-complementary
#9E198D #4A9E19 #199E6C
monochromatic
#34082F #69115E #9E198D #D321BC #E34ED0

Accessibility & contrast

On white

7.05
#9E198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E198D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198D#FFFFFF#000000##FFFFFF
##9E198D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A62854
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e198d;
/* rgb */ color: rgb(158, 25, 141);
/* oklch */ color: oklch(48.9% 0.202 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9e198d',
    950: '#000000',
  },
}
SCSS
$custom: #9e198d;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198d",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 307.669,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48939,
    "c": 0.20169,
    "h": 334.4
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#9E198D
secondary
#4EC55D
accent
#EF5038
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198D

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

Preview Lab → · Contrast checker → · Palette generator →

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