#9E198E#9E198E

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

Color values

HEX#9E198E
RGBrgb(158, 25, 142)
HSLhsl(307, 73%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 84.2%, 10.1%, 38%)
CIE-LABlab(37.70, 62.59, -32.26)
CIE-LCHlch(37.70, 70.41, 332.73°)
OKLaboklab(49% 0.182 -0.0886)
OKLCHoklch(49% 0.202 334.1)
XYZxyz(19.3309, 9.9191, 26.4824)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198E #199E29
analogous
#6B199E #9E198E #9E194B
triadic
#9E198E #8E9E19 #198E9E
tetradic
#9E198E #9E6B19 #199E29 #194B9E
square
#9E198E #9E6B19 #199E29 #194B9E
split-complementary
#9E198E #4B9E19 #199E6B
monochromatic
#34082F #69115F #9E198E #D321BD #E34ED1

Accessibility & contrast

On white

7.04
#9E198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E198E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198E#FFFFFF#000000##FFFFFF
##9E198E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#A62955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e198e;
/* rgb */ color: rgb(158, 25, 142);
/* oklch */ color: oklch(49.0% 0.202 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9e198e',
    950: '#000000',
  },
}
SCSS
$custom: #9e198e;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198e",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 307.218,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48995,
    "c": 0.20238,
    "h": 334.1
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#9E198E
secondary
#4EC55C
accent
#EF4E38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198E

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

Preview Lab → · Contrast checker → · Palette generator →

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