#9E2996#9E2996

#9E2996 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.193 H 331.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E2996
RGBrgb(158, 41, 150)
HSLhsl(304, 59%, 39%)
HSVhsv(304, 74%, 62%)
CMYKcmyk(0%, 74.1%, 5.1%, 38%)
CIE-LABlab(39.68, 59.36, -34.01)
CIE-LCHlch(39.68, 68.41, 330.19°)
OKLaboklab(50.55% 0.1692 -0.0937)
OKLCHoklch(50.55% 0.193 331)
XYZxyz(20.3985, 11.0586, 29.9084)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2996 #299E31
analogous
#6C299E #9E2996 #9E295C
triadic
#9E2996 #969E29 #29969E
tetradic
#9E2996 #9E6C29 #299E31 #295C9E
square
#9E2996 #9E6C29 #299E31 #295C9E
split-complementary
#9E2996 #5C9E29 #299E6C
monochromatic
#3D103A #6D1C68 #9E2996 #CC39C1 #D869D1

Accessibility & contrast

On white

6.54
#9E2996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2996
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2996#FFFFFF#000000##FFFFFF
##9E29961.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A4375D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2996;
/* rgb */ color: rgb(158, 41, 150);
/* oklch */ color: oklch(50.6% 0.193 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6fb5',
    500: '#9e2996',
    950: '#000000',
  },
}
SCSS
$custom: #9e2996;
$custom-light: #be6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2996",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 304.103,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.19341,
    "h": 331
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#9E2996
secondary
#64BF6A
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2996

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

Preview Lab → · Contrast checker → · Palette generator →

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