#8E1D85#8E1D85

#8E1D85 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.185 H 331.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8E1D85
RGBrgb(142, 29, 133)
HSLhsl(305, 66%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 79.6%, 6.3%, 44.3%)
CIE-LABlab(34.65, 56.77, -31.71)
CIE-LCHlch(34.65, 65.03, 330.81°)
OKLaboklab(46.12% 0.1627 -0.0874)
OKLCHoklch(46.12% 0.185 331.8)
XYZxyz(15.8284, 8.3243, 22.9589)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D85 #1D8E26
analogous
#5E1D8E #8E1D85 #8E1D4C
triadic
#8E1D85 #858E1D #1D858E
tetradic
#8E1D85 #8E5E1D #1D8E26 #1D4C8E
square
#8E1D85 #8E5E1D #1D8E26 #1D4C8E
split-complementary
#8E1D85 #4C8E1D #1D8E5E
monochromatic
#280826 #5B1355 #8E1D85 #C127B5 #DA4BCF

Accessibility & contrast

On white

7.88
#8E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D85
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D85#FFFFFF#000000##FFFFFF
##8E1D851.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124888
Deuteranopia (green-blind)
#435782
Tritanopia (blue-blind)
#942C50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d85;
/* rgb */ color: rgb(142, 29, 133);
/* oklch */ color: oklch(46.1% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d85;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d85",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 304.779,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.18464,
    "h": 331.8
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#8E1D85
secondary
#4ABD53
accent
#E94C3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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