#8E1A85#8E1A85

#8E1A85 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 331.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8E1A85
RGBrgb(142, 26, 133)
HSLhsl(305, 69%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 81.7%, 6.3%, 44.3%)
CIE-LABlab(34.36, 57.59, -32.17)
CIE-LCHlch(34.36, 65.97, 330.82°)
OKLaboklab(45.91% 0.1651 -0.0887)
OKLCHoklch(45.91% 0.187 331.8)
XYZxyz(15.7584, 8.1844, 22.9355)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A85 #1A8E23
analogous
#5D1A8E #8E1A85 #8E1A4B
triadic
#8E1A85 #858E1A #1A858E
tetradic
#8E1A85 #8E5D1A #1A8E23 #1A4B8E
square
#8E1A85 #8E5D1A #1A8E23 #1A4B8E
split-complementary
#8E1A85 #4B8E1A #1A8E5D
monochromatic
#270724 #5A1155 #8E1A85 #C223B5 #DD45D1

Accessibility & contrast

On white

7.96
#8E1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A85
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A85#FFFFFF#000000##FFFFFF
##8E1A851.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4788
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#942A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a85;
/* rgb */ color: rgb(142, 26, 133);
/* oklch */ color: oklch(45.9% 0.187 331.8);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1a85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a85;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a85",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 304.655,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.18736,
    "h": 331.8
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#8E1A85
secondary
#45BE4F
accent
#EC4A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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