#8E1F82#8E1F82

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

Color values

HEX#8E1F82
RGBrgb(142, 31, 130)
HSLhsl(306, 64%, 34%)
HSVhsv(306, 78%, 56%)
CMYKcmyk(0%, 78.2%, 8.5%, 44.3%)
CIE-LABlab(34.69, 55.71, -29.79)
CIE-LCHlch(34.69, 63.17, 331.87°)
OKLaboklab(46.09% 0.1609 -0.0818)
OKLCHoklch(46.09% 0.18 333)
XYZxyz(15.6747, 8.3438, 21.8997)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F82 #1F8E2B
analogous
#631F8E #8E1F82 #8E1F4B
triadic
#8E1F82 #828E1F #1F828E
tetradic
#8E1F82 #8E631F #1F8E2B #1F4B8E
square
#8E1F82 #8E631F #1F8E2B #1F4B8E
split-complementary
#8E1F82 #4B8E1F #1F8E63
monochromatic
#2A0926 #5C1454 #8E1F82 #C02AB0 #D94FCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1F82#FFFFFF#000000##FFFFFF
##8E1F821.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)
#194785
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#952B4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1f82;
/* rgb */ color: rgb(142, 31, 130);
/* oklch */ color: oklch(46.1% 0.180 333.0);
Tailwind
colors: {
  custom: {
    50: '#b368a6',
    500: '#8e1f82',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f82;
$custom-light: #b368a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f82",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 306.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.18046,
    "h": 333
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#8E1F82
secondary
#4DBB59
accent
#E75341
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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