#9E1F83#9E1F83

#9E1F83 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.190 H 338.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E1F83
RGBrgb(158, 31, 131)
HSLhsl(313, 67%, 37%)
HSVhsv(313, 80%, 62%)
CMYKcmyk(0%, 80.4%, 17.1%, 38%)
CIE-LABlab(37.64, 59.52, -25.57)
CIE-LCHlch(37.64, 64.78, 336.76°)
OKLaboklab(48.77% 0.1768 -0.0694)
OKLCHoklch(48.77% 0.19 338.6)
XYZxyz(18.6877, 9.8896, 22.3930)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F83 #1F9E3A
analogous
#7A1F9E #9E1F83 #9E1F44
triadic
#9E1F83 #839E1F #1F839E
tetradic
#9E1F83 #9E7A1F #1F9E3A #1F449E
square
#9E1F83 #9E7A1F #1F9E3A #1F449E
split-complementary
#9E1F83 #449E1F #1F9E7A
monochromatic
#380B2E #6B1559 #9E1F83 #D129AD #DE59C2

Accessibility & contrast

On white

7.05
#9E1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F83
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F83#FFFFFF#000000##FFFFFF
##9E1F831.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C86
Deuteranopia (green-blind)
#536080
Tritanopia (blue-blind)
#A72650
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1f83;
/* rgb */ color: rgb(158, 31, 131);
/* oklch */ color: oklch(48.8% 0.190 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ba7',
    500: '#9e1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f83;
$custom-light: #bf6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f83",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 312.756,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48773,
    "c": 0.18996,
    "h": 338.6
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#9E1F83
secondary
#56C26D
accent
#EA623E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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