#9E198F#9E198F

#9E198F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.203 H 333.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E198F
RGBrgb(158, 25, 143)
HSLhsl(307, 73%, 36%)
HSVhsv(307, 84%, 62%)
CMYKcmyk(0%, 84.2%, 9.5%, 38%)
CIE-LABlab(37.75, 62.74, -32.79)
CIE-LCHlch(37.75, 70.79, 332.41°)
OKLaboklab(49.05% 0.182 -0.0901)
OKLCHoklch(49.05% 0.203 333.7)
XYZxyz(19.4063, 9.9493, 26.8796)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E198F #199E28
analogous
#6A199E #9E198F #9E194C
triadic
#9E198F #8F9E19 #198F9E
tetradic
#9E198F #9E6A19 #199E28 #194C9E
square
#9E198F #9E6A19 #199E28 #194C9E
split-complementary
#9E198F #4C9E19 #199E6A
monochromatic
#34082F #69115F #9E198F #D321BF #E34ED2

Accessibility & contrast

On white

7.02
#9E198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E198F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E198F#FFFFFF#000000##FFFFFF
##9E198F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#4C5F8C
Tritanopia (blue-blind)
#A62A55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e198f;
/* rgb */ color: rgb(158, 25, 143);
/* oklch */ color: oklch(49.1% 0.203 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf69b0',
    500: '#9e198f',
    950: '#000000',
  },
}
SCSS
$custom: #9e198f;
$custom-light: #bf69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e198f",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 306.767,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.20307,
    "h": 333.7
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#9E198F
secondary
#4EC55B
accent
#EF4D38
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E198F

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

Preview Lab → · Contrast checker → · Palette generator →

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