#9E1B82#9E1B82

#9E1B82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.193 H 338.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E1B82
RGBrgb(158, 27, 130)
HSLhsl(313, 71%, 36%)
HSVhsv(313, 83%, 62%)
CMYKcmyk(0%, 82.9%, 17.7%, 38%)
CIE-LABlab(37.24, 60.41, -25.58)
CIE-LCHlch(37.24, 65.60, 337.05°)
OKLaboklab(48.47% 0.1799 -0.0694)
OKLCHoklch(48.47% 0.193 338.9)
XYZxyz(18.5223, 9.6666, 22.0051)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B82 #1B9E37
analogous
#791B9E #9E1B82 #9E1B41
triadic
#9E1B82 #829E1B #1B829E
tetradic
#9E1B82 #9E791B #1B9E37 #1B419E
square
#9E1B82 #9E791B #1B9E37 #1B419E
split-complementary
#9E1B82 #419E1B #1B9E79
monochromatic
#35092C #6A1257 #9E1B82 #D224AD #E152C3

Accessibility & contrast

On white

7.16
#9E1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B82
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B82#FFFFFF#000000##FFFFFF
##9E1B821.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7224E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b82;
/* rgb */ color: rgb(158, 27, 130);
/* oklch */ color: oklch(48.5% 0.193 338.9);
Tailwind
colors: {
  custom: {
    50: '#bf69a6',
    500: '#9e1b82',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b82;
$custom-light: #bf69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b82",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 312.824,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48465,
    "c": 0.19278,
    "h": 338.9
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#9E1B82
secondary
#51C469
accent
#EE613A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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