#8E1F84#8E1F84

#8E1F84 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 332.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E1F84
RGBrgb(142, 31, 132)
HSLhsl(305, 64%, 34%)
HSVhsv(305, 78%, 56%)
CMYKcmyk(0%, 78.2%, 7%, 44.3%)
CIE-LABlab(34.80, 56.02, -30.86)
CIE-LCHlch(34.80, 63.96, 331.15°)
OKLaboklab(46.21% 0.1609 -0.0849)
OKLCHoklch(46.21% 0.182 332.2)
XYZxyz(15.8102, 8.3980, 22.6136)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F84 #1F8E29
analogous
#611F8E #8E1F84 #8E1F4D
triadic
#8E1F84 #848E1F #1F848E
tetradic
#8E1F84 #8E611F #1F8E29 #1F4D8E
square
#8E1F84 #8E611F #1F8E29 #1F4D8E
split-complementary
#8E1F84 #4D8E1F #1F8E61
monochromatic
#2A0927 #5C1455 #8E1F84 #C02AB3 #D94FCC

Accessibility & contrast

On white

7.84
#8E1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F84
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F84#FFFFFF#000000##FFFFFF
##8E1F841.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174887
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#942C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1f84;
/* rgb */ color: rgb(142, 31, 132);
/* oklch */ color: oklch(46.2% 0.182 332.2);
Tailwind
colors: {
  custom: {
    50: '#b368a8',
    500: '#8e1f84',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f84;
$custom-light: #b368a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f84",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 305.405,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.18195,
    "h": 332.2
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#8E1F84
secondary
#4DBB57
accent
#E75041
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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