#8E1B84#8E1B84

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

Color values

HEX#8E1B84
RGBrgb(142, 27, 132)
HSLhsl(305, 68%, 33%)
HSVhsv(305, 81%, 56%)
CMYKcmyk(0%, 81%, 7%, 44.3%)
CIE-LABlab(34.40, 57.17, -31.49)
CIE-LCHlch(34.40, 65.27, 331.16°)
OKLaboklab(45.92% 0.1643 -0.0867)
OKLCHoklch(45.92% 0.186 332.2)
XYZxyz(15.7122, 8.2019, 22.5809)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B84 #1B8E25
analogous
#5E1B8E #8E1B84 #8E1B4B
triadic
#8E1B84 #848E1B #1B848E
tetradic
#8E1B84 #8E5E1B #1B8E25 #1B4B8E
square
#8E1B84 #8E5E1B #1B8E25 #1B4B8E
split-complementary
#8E1B84 #4B8E1B #1B8E5E
monochromatic
#270724 #5B1154 #8E1B84 #C125B4 #DC47CF

Accessibility & contrast

On white

7.95
#8E1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B84
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B84#FFFFFF#000000##FFFFFF
##8E1B841.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114787
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#942A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1b84;
/* rgb */ color: rgb(142, 27, 132);
/* oklch */ color: oklch(45.9% 0.186 332.2);
Tailwind
colors: {
  custom: {
    50: '#b367a8',
    500: '#8e1b84',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b84;
$custom-light: #b367a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b84",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 305.217,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.18575,
    "h": 332.2
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#8E1B84
secondary
#47BE51
accent
#EB4C3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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