#8E1E84#8E1E84

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

Color values

HEX#8E1E84
RGBrgb(142, 30, 132)
HSLhsl(305, 65%, 34%)
HSVhsv(305, 79%, 56%)
CMYKcmyk(0%, 78.9%, 7%, 44.3%)
CIE-LABlab(34.69, 56.32, -31.02)
CIE-LCHlch(34.69, 64.30, 331.15°)
OKLaboklab(46.13% 0.1618 -0.0854)
OKLCHoklch(46.13% 0.183 332.2)
XYZxyz(15.7845, 8.3466, 22.6050)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E84 #1E8E28
analogous
#601E8E #8E1E84 #8E1E4C
triadic
#8E1E84 #848E1E #1E848E
tetradic
#8E1E84 #8E601E #1E8E28 #1E4C8E
square
#8E1E84 #8E601E #1E8E28 #1E4C8E
split-complementary
#8E1E84 #4C8E1E #1E8E60
monochromatic
#290926 #5B1355 #8E1E84 #C129B3 #D94DCD

Accessibility & contrast

On white

7.87
#8E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E84
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E84#FFFFFF#000000##FFFFFF
##8E1E841.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154887
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#942C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1e84;
/* rgb */ color: rgb(142, 30, 132);
/* oklch */ color: oklch(46.1% 0.183 332.2);
Tailwind
colors: {
  custom: {
    50: '#b368a8',
    500: '#8e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e84;
$custom-light: #b368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e84",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 305.357,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.18294,
    "h": 332.2
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#8E1E84
secondary
#4CBC56
accent
#E84F40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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