#9E2C96#9E2C96

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

Color values

HEX#9E2C96
RGBrgb(158, 44, 150)
HSLhsl(304, 56%, 40%)
HSVhsv(304, 72%, 62%)
CMYKcmyk(0%, 72.2%, 5.1%, 38%)
CIE-LABlab(40.04, 58.34, -33.44)
CIE-LCHlch(40.04, 67.24, 330.18°)
OKLaboklab(50.81% 0.1662 -0.0921)
OKLCHoklch(50.81% 0.19 331)
XYZxyz(20.5062, 11.2741, 29.9443)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C96 #2C9E34
analogous
#6D2C9E #9E2C96 #9E2C5D
triadic
#9E2C96 #969E2C #2C969E
tetradic
#9E2C96 #9E6D2C #2C9E34 #2C5D9E
square
#9E2C96 #9E6D2C #2C9E34 #2C5D9E
split-complementary
#9E2C96 #5D9E2C #2C9E6D
monochromatic
#3E113B #6E1F69 #9E2C96 #C93EBF #D76ECF

Accessibility & contrast

On white

6.45
#9E2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C96
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C96#FFFFFF#000000##FFFFFF
##9E2C961.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A43A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2c96;
/* rgb */ color: rgb(158, 44, 150);
/* oklch */ color: oklch(50.8% 0.190 331.0);
Tailwind
colors: {
  custom: {
    50: '#be70b5',
    500: '#9e2c96',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c96;
$custom-light: #be70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c96",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 304.211,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.19004,
    "h": 331
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#9E2C96
secondary
#68BE6E
accent
#E05348
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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