#8E1790#8E1790

#8E1790 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.198 H 327.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1790
RGBrgb(142, 23, 144)
HSLhsl(299, 72%, 33%)
HSVhsv(299, 84%, 56%)
CMYKcmyk(1.4%, 84%, 0%, 43.5%)
CIE-LABlab(34.76, 60.11, -38.33)
CIE-LCHlch(34.76, 71.29, 327.47°)
OKLaboklab(46.4% 0.1668 -0.1066)
OKLCHoklch(46.4% 0.198 327.4)
XYZxyz(16.4955, 8.3784, 27.1285)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1790 #199017
analogous
#511790 #8E1790 #901756
triadic
#8E1790 #908E17 #17908E
tetradic
#8E1790 #905117 #199017 #175690
square
#8E1790 #905117 #199017 #175690
split-complementary
#8E1790 #569017 #179051
monochromatic
#260626 #5A0F5B #8E1790 #C21FC5 #DE41E1

Accessibility & contrast

On white

7.85
#8E1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1790
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1790#FFFFFF#000000##FFFFFF
##8E17901.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#922F56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1790;
/* rgb */ color: rgb(142, 23, 144);
/* oklch */ color: oklch(46.4% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#b366b1',
    500: '#8e1790',
    950: '#000000',
  },
}
SCSS
$custom: #8e1790;
$custom-light: #b366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1790",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 299.008,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.19796,
    "h": 327.4
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#8E1790
secondary
#44C142
accent
#EF393C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1790

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

Preview Lab → · Contrast checker → · Palette generator →

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