#9E1E82#9E1E82

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

Color values

HEX#9E1E82
RGBrgb(158, 30, 130)
HSLhsl(313, 68%, 37%)
HSVhsv(313, 81%, 62%)
CMYKcmyk(0%, 81%, 17.7%, 38%)
CIE-LABlab(37.50, 59.65, -25.17)
CIE-LCHlch(37.50, 64.74, 337.12°)
OKLaboklab(48.66% 0.1776 -0.0682)
OKLCHoklch(48.66% 0.19 339)
XYZxyz(18.5946, 9.8112, 22.0292)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E82 #1E9E3A
analogous
#7A1E9E #9E1E82 #9E1E42
triadic
#9E1E82 #829E1E #1E829E
tetradic
#9E1E82 #9E7A1E #1E9E3A #1E429E
square
#9E1E82 #9E7A1E #1E9E3A #1E429E
split-complementary
#9E1E82 #429E1E #1E9E7A
monochromatic
#370A2D #6B1458 #9E1E82 #D128AC #DF57C1

Accessibility & contrast

On white

7.09
#9E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E82
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E82#FFFFFF#000000##FFFFFF
##9E1E821.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A7254F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1e82;
/* rgb */ color: rgb(158, 30, 130);
/* oklch */ color: oklch(48.7% 0.190 339.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa6',
    500: '#9e1e82',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e82;
$custom-light: #bf6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e82",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 313.125,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48655,
    "c": 0.19021,
    "h": 339
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#9E1E82
secondary
#55C36D
accent
#EB633D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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