#9E1790#9E1790

#9E1790 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.205 H 333.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E1790
RGBrgb(158, 23, 144)
HSLhsl(306, 75%, 35%)
HSVhsv(306, 85%, 62%)
CMYKcmyk(0%, 85.4%, 8.9%, 38%)
CIE-LABlab(37.66, 63.32, -33.55)
CIE-LCHlch(37.66, 71.66, 332.08°)
OKLaboklab(49% 0.1833 -0.0923)
OKLCHoklch(49% 0.205 333.3)
XYZxyz(19.4412, 9.8973, 27.2666)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1790 #179E25
analogous
#68179E #9E1790 #9E174D
triadic
#9E1790 #909E17 #17909E
tetradic
#9E1790 #9E6817 #179E25 #174D9E
square
#9E1790 #9E6817 #179E25 #174D9E
split-complementary
#9E1790 #4D9E17 #179E68
monochromatic
#33072F #690F5F #9E1790 #D31FC1 #E54BD5

Accessibility & contrast

On white

7.05
#9E1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1790
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1790#FFFFFF#000000##FFFFFF
##9E17901.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#A52956
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1790;
/* rgb */ color: rgb(158, 23, 144);
/* oklch */ color: oklch(49.0% 0.205 333.3);
Tailwind
colors: {
  custom: {
    50: '#bf69b1',
    500: '#9e1790',
    950: '#000000',
  },
}
SCSS
$custom: #9e1790;
$custom-light: #bf69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1790",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 306.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.2052,
    "h": 333.3
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#9E1790
secondary
#4AC657
accent
#F14A37
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1790

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

Preview Lab → · Contrast checker → · Palette generator →

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