#8E1E83#8E1E83

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

Color values

HEX#8E1E83
RGBrgb(142, 30, 131)
HSLhsl(306, 65%, 34%)
HSVhsv(306, 79%, 56%)
CMYKcmyk(0%, 78.9%, 7.7%, 44.3%)
CIE-LABlab(34.64, 56.16, -30.49)
CIE-LCHlch(34.64, 63.90, 331.51°)
OKLaboklab(46.08% 0.1618 -0.0838)
OKLCHoklch(46.08% 0.182 332.6)
XYZxyz(15.7164, 8.3194, 22.2464)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E83 #1E8E29
analogous
#611E8E #8E1E83 #8E1E4B
triadic
#8E1E83 #838E1E #1E838E
tetradic
#8E1E83 #8E611E #1E8E29 #1E4B8E
square
#8E1E83 #8E611E #1E8E29 #1E4B8E
split-complementary
#8E1E83 #4B8E1E #1E8E61
monochromatic
#290926 #5B1354 #8E1E83 #C129B2 #D94DCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1E83#FFFFFF#000000##FFFFFF
##8E1E831.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)
#174786
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#942B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1e83;
/* rgb */ color: rgb(142, 30, 131);
/* oklch */ color: oklch(46.1% 0.182 332.6);
Tailwind
colors: {
  custom: {
    50: '#b368a7',
    500: '#8e1e83',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e83;
$custom-light: #b368a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e83",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 305.893,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.18219,
    "h": 332.6
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#8E1E83
secondary
#4CBC57
accent
#E85040
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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