#9E1794#9E1794

#9E1794 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.208 H 331.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9E1794
RGBrgb(158, 23, 148)
HSLhsl(304, 75%, 35%)
HSVhsv(304, 85%, 62%)
CMYKcmyk(0%, 85.4%, 6.3%, 38%)
CIE-LABlab(37.88, 63.92, -35.64)
CIE-LCHlch(37.88, 73.18, 330.86°)
OKLaboklab(49.23% 0.1833 -0.0983)
OKLCHoklch(49.23% 0.208 331.8)
XYZxyz(19.7523, 10.0217, 28.9053)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1794 #179E21
analogous
#64179E #9E1794 #9E1751
triadic
#9E1794 #949E17 #17949E
tetradic
#9E1794 #9E6417 #179E21 #17519E
square
#9E1794 #9E6417 #179E21 #17519E
split-complementary
#9E1794 #519E17 #179E64
monochromatic
#330730 #690F62 #9E1794 #D31FC6 #E54BD9

Accessibility & contrast

On white

6.99
#9E1794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9E1794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1794
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1794#FFFFFF#000000##FFFFFF
##9E17941.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E97
Deuteranopia (green-blind)
#485F91
Tritanopia (blue-blind)
#A52C58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1794;
/* rgb */ color: rgb(158, 23, 148);
/* oklch */ color: oklch(49.2% 0.208 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf69b4',
    500: '#9e1794',
    950: '#000000',
  },
}
SCSS
$custom: #9e1794;
$custom-light: #bf69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1794",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 304.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.20798,
    "h": 331.8
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#9E1794
secondary
#4AC654
accent
#F14437
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1794

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

Preview Lab → · Contrast checker → · Palette generator →

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