#9E1B94#9E1B94

#9E1B94 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.205 H 331.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E1B94
RGBrgb(158, 27, 148)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 82.9%, 6.3%, 38%)
CIE-LABlab(38.19, 63.03, -35.16)
CIE-LCHlch(38.19, 72.17, 330.85°)
OKLaboklab(49.45% 0.1807 -0.0969)
OKLCHoklch(49.45% 0.205 331.8)
XYZxyz(19.8378, 10.1928, 28.9338)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B94 #1B9E25
analogous
#671B9E #9E1B94 #9E1B53
triadic
#9E1B94 #949E1B #1B949E
tetradic
#9E1B94 #9E671B #1B9E25 #1B539E
square
#9E1B94 #9E671B #1B9E25 #1B539E
split-complementary
#9E1B94 #539E1B #1B9E67
monochromatic
#350932 #6A1263 #9E1B94 #D224C5 #E152D6

Accessibility & contrast

On white

6.91
#9E1B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B94
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B94#FFFFFF#000000##FFFFFF
##9E1B941.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E97
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#A52E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1b94;
/* rgb */ color: rgb(158, 27, 148);
/* oklch */ color: oklch(49.5% 0.205 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9e1b94',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b94;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b94",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 304.58,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.20505,
    "h": 331.8
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#9E1B94
secondary
#51C459
accent
#EE483A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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