#9E2F91#9E2F91

#9E2F91 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 333.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E2F91
RGBrgb(158, 47, 145)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 70%, 62%)
CMYKcmyk(0%, 70.3%, 8.2%, 38%)
CIE-LABlab(40.16, 56.45, -30.21)
CIE-LCHlch(40.16, 64.03, 331.84°)
OKLaboklab(50.82% 0.1628 -0.0828)
OKLCHoklch(50.82% 0.183 333)
XYZxyz(20.2280, 11.3481, 27.9076)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F91 #2F9E3C
analogous
#732F9E #9E2F91 #9E2F59
triadic
#9E2F91 #919E2F #2F919E
tetradic
#9E2F91 #9E732F #2F9E3C #2F599E
square
#9E2F91 #9E732F #2F9E3C #2F599E
split-complementary
#9E2F91 #599E2F #2F9E73
monochromatic
#40133A #6F2166 #9E2F91 #C743B8 #D572CA

Accessibility & contrast

On white

6.42
#9E2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F91
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F91#FFFFFF#000000##FFFFFF
##9E2F911.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#53648E
Tritanopia (blue-blind)
#A5395C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2f91;
/* rgb */ color: rgb(158, 47, 145);
/* oklch */ color: oklch(50.8% 0.183 333.0);
Tailwind
colors: {
  custom: {
    50: '#be72b1',
    500: '#9e2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f91;
$custom-light: #be72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f91",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 307.027,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.18262,
    "h": 333
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#9E2F91
secondary
#6CBD75
accent
#DE5C4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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