#9E1B93#9E1B93

#9E1B93 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 332.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9E1B93
RGBrgb(158, 27, 147)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 82.9%, 7%, 38%)
CIE-LABlab(38.13, 62.88, -34.64)
CIE-LCHlch(38.13, 71.78, 331.15°)
OKLaboklab(49.39% 0.1807 -0.0954)
OKLCHoklch(49.39% 0.204 332.2)
XYZxyz(19.7590, 10.1613, 28.5188)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B93 #1B9E26
analogous
#681B9E #9E1B93 #9E1B52
triadic
#9E1B93 #939E1B #1B939E
tetradic
#9E1B93 #9E681B #1B9E26 #1B529E
square
#9E1B93 #9E681B #1B9E26 #1B529E
split-complementary
#9E1B93 #529E1B #1B9E68
monochromatic
#350932 #6A1262 #9E1B93 #D224C4 #E152D5

Accessibility & contrast

On white

6.93
#9E1B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E1B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B93
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B93#FFFFFF#000000##FFFFFF
##9E1B931.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A52D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1b93;
/* rgb */ color: rgb(158, 27, 147);
/* oklch */ color: oklch(49.4% 0.204 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ab3',
    500: '#9e1b93',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b93;
$custom-light: #bf6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b93",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 305.038,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.20434,
    "h": 332.2
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#9E1B93
secondary
#51C45A
accent
#EE493A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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