#8E1F85#8E1F85

#8E1F85 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.183 H 331.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8E1F85
RGBrgb(142, 31, 133)
HSLhsl(305, 64%, 34%)
HSVhsv(305, 78%, 56%)
CMYKcmyk(0%, 78.2%, 6.3%, 44.3%)
CIE-LABlab(34.85, 56.18, -31.39)
CIE-LCHlch(34.85, 64.36, 330.81°)
OKLaboklab(46.26% 0.161 -0.0864)
OKLCHoklch(46.26% 0.183 331.8)
XYZxyz(15.8790, 8.4255, 22.9757)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F85 #1F8E28
analogous
#601F8E #8E1F85 #8E1F4E
triadic
#8E1F85 #858E1F #1F858E
tetradic
#8E1F85 #8E601F #1F8E28 #1F4E8E
square
#8E1F85 #8E601F #1F8E28 #1F4E8E
split-complementary
#8E1F85 #4E8E1F #1F8E60
monochromatic
#2A0927 #5C1456 #8E1F85 #C02AB4 #D94FCD

Accessibility & contrast

On white

7.82
#8E1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F85
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F85#FFFFFF#000000##FFFFFF
##8E1F851.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#942D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1f85;
/* rgb */ color: rgb(142, 31, 133);
/* oklch */ color: oklch(46.3% 0.183 331.8);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8e1f85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f85;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f85",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 304.865,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.1827,
    "h": 331.8
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#8E1F85
secondary
#4DBB56
accent
#E74E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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