#9E2D96#9E2D96

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

Color values

HEX#9E2D96
RGBrgb(158, 45, 150)
HSLhsl(304, 56%, 40%)
HSVhsv(304, 72%, 62%)
CMYKcmyk(0%, 71.5%, 5.1%, 38%)
CIE-LABlab(40.16, 57.99, -33.25)
CIE-LCHlch(40.16, 66.84, 330.17°)
OKLaboklab(50.9% 0.1652 -0.0915)
OKLCHoklch(50.9% 0.189 331)
XYZxyz(20.5439, 11.3495, 29.9569)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2D96 #2D9E35
analogous
#6E2D9E #9E2D96 #9E2D5D
triadic
#9E2D96 #969E2D #2D969E
tetradic
#9E2D96 #9E6E2D #2D9E35 #2D5D9E
square
#9E2D96 #9E6E2D #2D9E35 #2D5D9E
split-complementary
#9E2D96 #5D9E2D #2D9E6E
monochromatic
#3F123C #6E1F69 #9E2D96 #C940BF #D66FCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2D96#FFFFFF#000000##FFFFFF
##9E2D961.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)
#235599
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A43A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2d96;
/* rgb */ color: rgb(158, 45, 150);
/* oklch */ color: oklch(50.9% 0.189 331.0);
Tailwind
colors: {
  custom: {
    50: '#be71b5',
    500: '#9e2d96',
    950: '#000000',
  },
}
SCSS
$custom: #9e2d96;
$custom-light: #be71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2d96",
  "rgb": {
    "r": 158,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 304.248,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.18888,
    "h": 331
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#9E2D96
secondary
#69BD6F
accent
#DF5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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