#8E1C85#8E1C85

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

Color values

HEX#8E1C85
RGBrgb(142, 28, 133)
HSLhsl(305, 67%, 33%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 80.3%, 6.3%, 44.3%)
CIE-LABlab(34.55, 57.05, -31.87)
CIE-LCHlch(34.55, 65.35, 330.81°)
OKLaboklab(46.05% 0.1635 -0.0878)
OKLCHoklch(46.05% 0.186 331.8)
XYZxyz(15.8043, 8.2761, 22.9508)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C85 #1C8E25
analogous
#5E1C8E #8E1C85 #8E1C4C
triadic
#8E1C85 #858E1C #1C858E
tetradic
#8E1C85 #8E5E1C #1C8E25 #1C4C8E
square
#8E1C85 #8E5E1C #1C8E25 #1C4C8E
split-complementary
#8E1C85 #4C8E1C #1C8E5E
monochromatic
#280825 #5B1255 #8E1C85 #C126B5 #DB49D0

Accessibility & contrast

On white

7.91
#8E1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C85
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C85#FFFFFF#000000##FFFFFF
##8E1C851.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1c85;
/* rgb */ color: rgb(142, 28, 133);
/* oklch */ color: oklch(46.0% 0.186 331.8);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1c85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c85;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c85",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 304.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.18557,
    "h": 331.8
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#8E1C85
secondary
#49BD52
accent
#EA4B3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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