#9E1896#9E1896

#9E1896 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.209 H 331.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E1896
RGBrgb(158, 24, 150)
HSLhsl(304, 74%, 36%)
HSVhsv(304, 85%, 62%)
CMYKcmyk(0%, 84.8%, 5.1%, 38%)
CIE-LABlab(38.07, 64.01, -36.56)
CIE-LCHlch(38.07, 73.71, 330.26°)
OKLaboklab(49.4% 0.1826 -0.101)
OKLCHoklch(49.4% 0.209 331.1)
XYZxyz(19.9322, 10.1261, 29.7530)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1896 #189E20
analogous
#63189E #9E1896 #9E1853
triadic
#9E1896 #969E18 #18969E
tetradic
#9E1896 #9E6318 #189E20 #18539E
square
#9E1896 #9E6318 #189E20 #18539E
split-complementary
#9E1896 #539E18 #189E63
monochromatic
#340831 #691064 #9E1896 #D320C8 #E44DDB

Accessibility & contrast

On white

6.94
#9E1896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E1896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1896
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1896#FFFFFF#000000##FFFFFF
##9E18961.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A52D59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1896;
/* rgb */ color: rgb(158, 24, 150);
/* oklch */ color: oklch(49.4% 0.209 331.1);
Tailwind
colors: {
  custom: {
    50: '#bf69b5',
    500: '#9e1896',
    950: '#000000',
  },
}
SCSS
$custom: #9e1896;
$custom-light: #bf69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1896",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 303.582,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.20869,
    "h": 331.1
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#9E1896
secondary
#4CC653
accent
#F04338
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1896

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

Preview Lab → · Contrast checker → · Palette generator →

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