#9E1793#9E1793

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

Color values

HEX#9E1793
RGBrgb(158, 23, 147)
HSLhsl(305, 75%, 35%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 85.4%, 7%, 38%)
CIE-LABlab(37.82, 63.76, -35.12)
CIE-LCHlch(37.82, 72.80, 331.16°)
OKLaboklab(49.18% 0.1833 -0.0968)
OKLCHoklch(49.18% 0.207 332.2)
XYZxyz(19.6735, 9.9902, 28.4903)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1793 #179E22
analogous
#65179E #9E1793 #9E174F
triadic
#9E1793 #939E17 #17939E
tetradic
#9E1793 #9E6517 #179E22 #174F9E
square
#9E1793 #9E6517 #179E22 #174F9E
split-complementary
#9E1793 #4F9E17 #179E65
monochromatic
#330730 #690F61 #9E1793 #D31FC5 #E54BD8

Accessibility & contrast

On white

7.01
#9E1793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1793
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1793#FFFFFF#000000##FFFFFF
##9E17931.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D96
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#A52B57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1793;
/* rgb */ color: rgb(158, 23, 147);
/* oklch */ color: oklch(49.2% 0.207 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf69b3',
    500: '#9e1793',
    950: '#000000',
  },
}
SCSS
$custom: #9e1793;
$custom-light: #bf69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1793",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 304.889,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.20728,
    "h": 332.2
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#9E1793
secondary
#4AC655
accent
#F14637
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1793

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

Preview Lab → · Contrast checker → · Palette generator →

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