#9E1D83#9E1D83

#9E1D83 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 338.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E1D83
RGBrgb(158, 29, 131)
HSLhsl(313, 69%, 37%)
HSVhsv(313, 82%, 62%)
CMYKcmyk(0%, 81.6%, 17.1%, 38%)
CIE-LABlab(37.46, 60.05, -25.85)
CIE-LCHlch(37.46, 65.38, 336.71°)
OKLaboklab(48.64% 0.1784 -0.0702)
OKLCHoklch(48.64% 0.192 338.5)
XYZxyz(18.6371, 9.7884, 22.3762)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D83 #1D9E38
analogous
#791D9E #9E1D83 #9E1D43
triadic
#9E1D83 #839E1D #1D839E
tetradic
#9E1D83 #9E791D #1D9E38 #1D439E
square
#9E1D83 #9E791D #1D9E38 #1D439E
split-complementary
#9E1D83 #439E1D #1D9E79
monochromatic
#370A2D #6A1458 #9E1D83 #D226AE #E056C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1D83#FFFFFF#000000##FFFFFF
##9E1D831.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)
#254C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A7254F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1d83;
/* rgb */ color: rgb(158, 29, 131);
/* oklch */ color: oklch(48.6% 0.192 338.5);
Tailwind
colors: {
  custom: {
    50: '#bf6aa7',
    500: '#9e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d83;
$custom-light: #bf6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d83",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 312.558,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.19174,
    "h": 338.5
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#9E1D83
secondary
#54C36B
accent
#EC613C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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