#9E2896#9E2896

#9E2896 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9E2896
RGBrgb(158, 40, 150)
HSLhsl(304, 60%, 39%)
HSVhsv(304, 75%, 62%)
CMYKcmyk(0%, 74.7%, 5.1%, 38%)
CIE-LABlab(39.56, 59.69, -34.19)
CIE-LCHlch(39.56, 68.79, 330.19°)
OKLaboklab(50.47% 0.1701 -0.0942)
OKLCHoklch(50.47% 0.194 331)
XYZxyz(20.3643, 10.9903, 29.8970)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2896 #289E30
analogous
#6B289E #9E2896 #9E285B
triadic
#9E2896 #969E28 #28969E
tetradic
#9E2896 #9E6B28 #289E30 #285B9E
square
#9E2896 #9E6B28 #289E30 #285B9E
split-complementary
#9E2896 #5B9E28 #289E6B
monochromatic
#3C0F39 #6D1C68 #9E2896 #CC37C2 #D968D1

Accessibility & contrast

On white

6.57
#9E2896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9E2896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2896
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2896#FFFFFF#000000##FFFFFF
##9E28961.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2896;
/* rgb */ color: rgb(158, 40, 150);
/* oklch */ color: oklch(50.5% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6fb5',
    500: '#9e2896',
    950: '#000000',
  },
}
SCSS
$custom: #9e2896;
$custom-light: #be6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2896",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 304.068,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.19448,
    "h": 331
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#9E2896
secondary
#63BF69
accent
#E35045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2896

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

Preview Lab → · Contrast checker → · Palette generator →

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