#9E1B8F#9E1B8F

#9E1B8F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.202 H 333.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E1B8F
RGBrgb(158, 27, 143)
HSLhsl(307, 71%, 36%)
HSVhsv(307, 83%, 62%)
CMYKcmyk(0%, 82.9%, 9.5%, 38%)
CIE-LABlab(37.91, 62.27, -32.54)
CIE-LCHlch(37.91, 70.26, 332.41°)
OKLaboklab(49.17% 0.1806 -0.0894)
OKLCHoklch(49.17% 0.202 333.7)
XYZxyz(19.4506, 10.0379, 26.8944)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B8F #1B9E2A
analogous
#6C1B9E #9E1B8F #9E1B4E
triadic
#9E1B8F #8F9E1B #1B8F9E
tetradic
#9E1B8F #9E6C1B #1B9E2A #1B4E9E
square
#9E1B8F #9E6C1B #1B9E2A #1B4E9E
split-complementary
#9E1B8F #4E9E1B #1B9E6C
monochromatic
#350930 #6A1260 #9E1B8F #D224BE #E152D1

Accessibility & contrast

On white

6.98
#9E1B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B8F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B8F#FFFFFF#000000##FFFFFF
##9E1B8F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A62B56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1b8f;
/* rgb */ color: rgb(158, 27, 143);
/* oklch */ color: oklch(49.2% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab0',
    500: '#9e1b8f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b8f;
$custom-light: #bf6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b8f",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 306.87,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.20154,
    "h": 333.7
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#9E1B8F
secondary
#51C45E
accent
#EE4F3A
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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