#9E2096#9E2096

#9E2096 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.202 H 331.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2096
RGBrgb(158, 32, 150)
HSLhsl(304, 66%, 37%)
HSVhsv(304, 80%, 62%)
CMYKcmyk(0%, 79.7%, 5.1%, 38%)
CIE-LABlab(38.74, 62.07, -35.50)
CIE-LCHlch(38.74, 71.51, 330.23°)
OKLaboklab(49.88% 0.177 -0.098)
OKLCHoklch(49.88% 0.202 331)
XYZxyz(20.1221, 10.5058, 29.8163)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2096 #209E28
analogous
#67209E #9E2096 #9E2057
triadic
#9E2096 #969E20 #20969E
tetradic
#9E2096 #9E6720 #209E28 #20579E
square
#9E2096 #9E6720 #209E28 #20579E
split-complementary
#9E2096 #579E20 #209E67
monochromatic
#380B35 #6B1666 #9E2096 #D12AC6 #DE5BD5

Accessibility & contrast

On white

6.77
#9E2096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2096
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2096#FFFFFF#000000##FFFFFF
##9E20961.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A4325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2096;
/* rgb */ color: rgb(158, 32, 150);
/* oklch */ color: oklch(49.9% 0.202 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6cb5',
    500: '#9e2096',
    950: '#000000',
  },
}
SCSS
$custom: #9e2096;
$custom-light: #bf6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2096",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 303.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.20233,
    "h": 331
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#9E2096
secondary
#58C25F
accent
#E9493F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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