#9E2296#9E2296

#9E2296 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 331.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9E2296
RGBrgb(158, 34, 150)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 78.5%, 5.1%, 38%)
CIE-LABlab(38.93, 61.52, -35.20)
CIE-LCHlch(38.93, 70.88, 330.22°)
OKLaboklab(50.02% 0.1754 -0.0971)
OKLCHoklch(50.02% 0.201 331)
XYZxyz(20.1776, 10.6168, 29.8348)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2296 #229E2A
analogous
#68229E #9E2296 #9E2258
triadic
#9E2296 #969E22 #22969E
tetradic
#9E2296 #9E6822 #229E2A #22589E
square
#9E2296 #9E6822 #229E2A #22589E
split-complementary
#9E2296 #589E22 #229E68
monochromatic
#390C36 #6C1766 #9E2296 #D02DC6 #DC5ED4

Accessibility & contrast

On white

6.72
#9E2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2296
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2296#FFFFFF#000000##FFFFFF
##9E22961.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#A4335B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2296;
/* rgb */ color: rgb(158, 34, 150);
/* oklch */ color: oklch(50.0% 0.201 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6cb5',
    500: '#9e2296',
    950: '#000000',
  },
}
SCSS
$custom: #9e2296;
$custom-light: #be6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2296",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 303.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.2005,
    "h": 331
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#9E2296
secondary
#5BC161
accent
#E84B40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2296

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

Preview Lab → · Contrast checker → · Palette generator →

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