#8D1E90#8D1E90

#8D1E90 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.192 H 326.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8D1E90
RGBrgb(141, 30, 144)
HSLhsl(298, 66%, 34%)
HSVhsv(298, 79%, 56%)
CMYKcmyk(2.1%, 79.2%, 0%, 43.5%)
CIE-LABlab(35.21, 58.07, -37.62)
CIE-LCHlch(35.21, 69.19, 327.07°)
OKLaboklab(46.69% 0.1606 -0.1045)
OKLCHoklch(46.69% 0.192 326.9)
XYZxyz(16.4825, 8.6061, 27.1732)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E90 #21901E
analogous
#541E90 #8D1E90 #901E5A
triadic
#8D1E90 #908D1E #1E908D
tetradic
#8D1E90 #90541E #21901E #1E5A90
square
#8D1E90 #90541E #21901E #1E5A90
split-complementary
#8D1E90 #5A901E #1E9054
monochromatic
#2A092B #5B135D #8D1E90 #BF29C3 #D64EDA

Accessibility & contrast

On white

7.72
#8D1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E90
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E90#FFFFFF#000000##FFFFFF
##8D1E901.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#3C588D
Tritanopia (blue-blind)
#913257
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1e90;
/* rgb */ color: rgb(141, 30, 144);
/* oklch */ color: oklch(46.7% 0.192 326.9);
Tailwind
colors: {
  custom: {
    50: '#b268b1',
    500: '#8d1e90',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e90;
$custom-light: #b268b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e90",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 298.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46694,
    "c": 0.19162,
    "h": 326.9
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#8D1E90
secondary
#50BD4D
accent
#E83F44
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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