#9E188F#9E188F

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

Color values

HEX#9E188F
RGBrgb(158, 24, 143)
HSLhsl(307, 74%, 36%)
HSVhsv(307, 85%, 62%)
CMYKcmyk(0%, 84.8%, 9.5%, 38%)
CIE-LABlab(37.68, 62.96, -32.91)
CIE-LCHlch(37.68, 71.04, 332.40°)
OKLaboklab(49% 0.1827 -0.0904)
OKLCHoklch(49% 0.204 333.7)
XYZxyz(19.3853, 9.9073, 26.8726)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E188F #189E27
analogous
#6A189E #9E188F #9E184C
triadic
#9E188F #8F9E18 #188F9E
tetradic
#9E188F #9E6A18 #189E27 #184C9E
square
#9E188F #9E6A18 #189E27 #184C9E
split-complementary
#9E188F #4C9E18 #189E6A
monochromatic
#34082F #69105F #9E188F #D320BF #E44DD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E188F#FFFFFF#000000##FFFFFF
##9E188F1.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)
#114D92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A62955
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e188f;
/* rgb */ color: rgb(158, 24, 143);
/* oklch */ color: oklch(49.0% 0.204 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf69b0',
    500: '#9e188f',
    950: '#000000',
  },
}
SCSS
$custom: #9e188f;
$custom-light: #bf69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e188f",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 306.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.20381,
    "h": 333.7
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#9E188F
secondary
#4CC65A
accent
#F04C38
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E188F

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

Preview Lab → · Contrast checker → · Palette generator →

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