#8D1790#8D1790

#8D1790 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 327.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8D1790
RGBrgb(141, 23, 144)
HSLhsl(299, 72%, 33%)
HSVhsv(299, 84%, 56%)
CMYKcmyk(2.1%, 84%, 0%, 43.5%)
CIE-LABlab(34.58, 59.91, -38.63)
CIE-LCHlch(34.58, 71.29, 327.19°)
OKLaboklab(46.24% 0.1657 -0.1075)
OKLCHoklch(46.24% 0.198 327)
XYZxyz(16.3247, 8.2903, 27.1205)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1790 #1A9017
analogous
#501790 #8D1790 #901757
triadic
#8D1790 #908D17 #17908D
tetradic
#8D1790 #905017 #1A9017 #175790
square
#8D1790 #905017 #1A9017 #175790
split-complementary
#8D1790 #579017 #179050
monochromatic
#260626 #590F5B #8D1790 #C11FC5 #DD41E1

Accessibility & contrast

On white

7.90
#8D1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1790
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1790#FFFFFF#000000##FFFFFF
##8D17901.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#912F55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1790;
/* rgb */ color: rgb(141, 23, 144);
/* oklch */ color: oklch(46.2% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#b266b1',
    500: '#8d1790',
    950: '#000000',
  },
}
SCSS
$custom: #8d1790;
$custom-light: #b266b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1790",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 298.512,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.19753,
    "h": 327
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#8D1790
secondary
#45C142
accent
#EF393D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1790

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

Preview Lab → · Contrast checker → · Palette generator →

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