#9E1E83#9E1E83

#9E1E83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.191 H 338.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E1E83
RGBrgb(158, 30, 131)
HSLhsl(313, 68%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 81%, 17.1%, 38%)
CIE-LABlab(37.55, 59.79, -25.71)
CIE-LCHlch(37.55, 65.08, 336.73°)
OKLaboklab(48.71% 0.1777 -0.0698)
OKLCHoklch(48.71% 0.191 338.6)
XYZxyz(18.6620, 9.8382, 22.3845)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E83 #1E9E39
analogous
#791E9E #9E1E83 #9E1E43
triadic
#9E1E83 #839E1E #1E839E
tetradic
#9E1E83 #9E791E #1E9E39 #1E439E
square
#9E1E83 #9E791E #1E9E39 #1E439E
split-complementary
#9E1E83 #439E1E #1E9E79
monochromatic
#370A2E #6B1458 #9E1E83 #D128AE #DF57C2

Accessibility & contrast

On white

7.08
#9E1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E83
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E83#FFFFFF#000000##FFFFFF
##9E1E831.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A72550
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1e83;
/* rgb */ color: rgb(158, 30, 131);
/* oklch */ color: oklch(48.7% 0.191 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf6aa7',
    500: '#9e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e83;
$custom-light: #bf6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e83",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 312.656,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.19086,
    "h": 338.6
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#9E1E83
secondary
#55C36C
accent
#EB623D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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