#9E158F#9E158F

#9E158F is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.206 H 333.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E158F
RGBrgb(158, 21, 143)
HSLhsl(307, 77%, 35%)
HSVhsv(307, 87%, 62%)
CMYKcmyk(0%, 86.7%, 9.5%, 38%)
CIE-LABlab(37.46, 63.57, -33.24)
CIE-LCHlch(37.46, 71.74, 332.39°)
OKLaboklab(48.85% 0.1845 -0.0914)
OKLCHoklch(48.85% 0.206 333.7)
XYZxyz(19.3268, 9.7904, 26.8531)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E158F #159E24
analogous
#68159E #9E158F #9E154B
triadic
#9E158F #8F9E15 #158F9E
tetradic
#9E158F #9E6815 #159E24 #154B9E
square
#9E158F #9E6815 #159E24 #154B9E
split-complementary
#9E158F #4B9E15 #159E68
monochromatic
#32072D #680E5E #9E158F #D41CC0 #E747D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E158F#FFFFFF#000000##FFFFFF
##9E158F1.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)
#0C4C92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A62755
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e158f;
/* rgb */ color: rgb(158, 21, 143);
/* oklch */ color: oklch(48.8% 0.206 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf68b0',
    500: '#9e158f',
    950: '#000000',
  },
}
SCSS
$custom: #9e158f;
$custom-light: #bf68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e158f",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 306.569,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.20586,
    "h": 333.7
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#9E158F
secondary
#47C755
accent
#F34A35
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E158F

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

Preview Lab → · Contrast checker → · Palette generator →

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