#9E1B8E#9E1B8E

#9E1B8E is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.201 H 334.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9E1B8E
RGBrgb(158, 27, 142)
HSLhsl(307, 71%, 36%)
HSVhsv(307, 83%, 62%)
CMYKcmyk(0%, 82.9%, 10.1%, 38%)
CIE-LABlab(37.86, 62.13, -32.01)
CIE-LCHlch(37.86, 69.89, 332.74°)
OKLaboklab(49.11% 0.1806 -0.0878)
OKLCHoklch(49.11% 0.201 334.1)
XYZxyz(19.3752, 10.0077, 26.4972)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B8E #1B9E2B
analogous
#6D1B9E #9E1B8E #9E1B4D
triadic
#9E1B8E #8E9E1B #1B8E9E
tetradic
#9E1B8E #9E6D1B #1B9E2B #1B4D9E
square
#9E1B8E #9E6D1B #1B9E2B #1B4D9E
split-complementary
#9E1B8E #4D9E1B #1B9E6D
monochromatic
#350930 #6A125F #9E1B8E #D224BD #E152D0

Accessibility & contrast

On white

7.00
#9E1B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E1B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B8E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B8E#FFFFFF#000000##FFFFFF
##9E1B8E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A62A55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1b8e;
/* rgb */ color: rgb(158, 27, 142);
/* oklch */ color: oklch(49.1% 0.201 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aaf',
    500: '#9e1b8e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b8e;
$custom-light: #bf6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b8e",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 307.328,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.20085,
    "h": 334.1
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#9E1B8E
secondary
#51C45F
accent
#EE503A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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