#9E2E96#9E2E96

#9E2E96 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 331.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9E2E96
RGBrgb(158, 46, 150)
HSLhsl(304, 55%, 40%)
HSVhsv(304, 71%, 62%)
CMYKcmyk(0%, 70.9%, 5.1%, 38%)
CIE-LABlab(40.29, 57.63, -33.05)
CIE-LCHlch(40.29, 66.43, 330.17°)
OKLaboklab(50.99% 0.1642 -0.091)
OKLCHoklch(50.99% 0.188 331)
XYZxyz(20.5825, 11.4267, 29.9698)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E96 #2E9E36
analogous
#6E2E9E #9E2E96 #9E2E5E
triadic
#9E2E96 #969E2E #2E969E
tetradic
#9E2E96 #9E6E2E #2E9E36 #2E5E9E
square
#9E2E96 #9E6E2E #2E9E36 #2E5E9E
split-complementary
#9E2E96 #5E9E2E #2E9E6E
monochromatic
#3F123C #6F2069 #9E2E96 #C841BE #D671CE

Accessibility & contrast

On white

6.39
#9E2E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9E2E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E96
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E96#FFFFFF#000000##FFFFFF
##9E2E961.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A43B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2e96;
/* rgb */ color: rgb(158, 46, 150);
/* oklch */ color: oklch(51.0% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#be71b5',
    500: '#9e2e96',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e96;
$custom-light: #be71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e96",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 304.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.1877,
    "h": 331
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#9E2E96
secondary
#6BBD71
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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