#9E2B96#9E2B96

#9E2B96 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 331.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9E2B96
RGBrgb(158, 43, 150)
HSLhsl(304, 57%, 39%)
HSVhsv(304, 73%, 62%)
CMYKcmyk(0%, 72.8%, 5.1%, 38%)
CIE-LABlab(39.92, 58.69, -33.64)
CIE-LCHlch(39.92, 67.64, 330.18°)
OKLaboklab(50.72% 0.1672 -0.0926)
OKLCHoklch(50.72% 0.191 331)
XYZxyz(20.4694, 11.2005, 29.9321)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B96 #2B9E33
analogous
#6D2B9E #9E2B96 #9E2B5D
triadic
#9E2B96 #969E2B #2B969E
tetradic
#9E2B96 #9E6D2B #2B9E33 #2B5D9E
square
#9E2B96 #9E6D2B #2B9E33 #2B5D9E
split-complementary
#9E2B96 #5D9E2B #2B9E6D
monochromatic
#3E113B #6E1E68 #9E2B96 #CA3CC0 #D76CD0

Accessibility & contrast

On white

6.48
#9E2B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E2B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B96
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B96#FFFFFF#000000##FFFFFF
##9E2B961.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#4E6493
Tritanopia (blue-blind)
#A4395E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2b96;
/* rgb */ color: rgb(158, 43, 150);
/* oklch */ color: oklch(50.7% 0.191 331.0);
Tailwind
colors: {
  custom: {
    50: '#be70b5',
    500: '#9e2b96',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b96;
$custom-light: #be70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b96",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 304.174,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.19119,
    "h": 331
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#9E2B96
secondary
#67BE6D
accent
#E05247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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