#9E1A8B#9E1A8B

#9E1A8B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.200 H 335.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E1A8B
RGBrgb(158, 26, 139)
HSLhsl(309, 72%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 83.5%, 12%, 38%)
CIE-LABlab(37.62, 61.92, -30.55)
CIE-LCHlch(37.62, 69.05, 333.74°)
OKLaboklab(48.89% 0.1812 -0.0836)
OKLCHoklch(48.89% 0.2 335.2)
XYZxyz(19.1304, 9.8738, 25.3194)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A8B #1A9E2D
analogous
#6F1A9E #9E1A8B #9E1A49
triadic
#9E1A8B #8B9E1A #1A8B9E
tetradic
#9E1A8B #9E6F1A #1A9E2D #1A499E
square
#9E1A8B #9E6F1A #1A9E2D #1A499E
split-complementary
#9E1A8B #499E1A #1A9E6F
monochromatic
#35092F #69115D #9E1A8B #D323B9 #E250CD

Accessibility & contrast

On white

7.06
#9E1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A8B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A8B#FFFFFF#000000##FFFFFF
##9E1A8B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#A62853
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1a8b;
/* rgb */ color: rgb(158, 26, 139);
/* oklch */ color: oklch(48.9% 0.200 335.2);
Tailwind
colors: {
  custom: {
    50: '#bf69ad',
    500: '#9e1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a8b;
$custom-light: #bf69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a8b",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 308.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.19956,
    "h": 335.2
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#9E1A8B
secondary
#4FC560
accent
#EE5339
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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