#8E1F83#8E1F83

#8E1F83 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 332.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1F83
RGBrgb(142, 31, 131)
HSLhsl(306, 64%, 34%)
HSVhsv(306, 78%, 56%)
CMYKcmyk(0%, 78.2%, 7.7%, 44.3%)
CIE-LABlab(34.74, 55.86, -30.32)
CIE-LCHlch(34.74, 63.56, 331.51°)
OKLaboklab(46.15% 0.1609 -0.0834)
OKLCHoklch(46.15% 0.181 332.6)
XYZxyz(15.7421, 8.3708, 22.2550)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F83 #1F8E2A
analogous
#621F8E #8E1F83 #8E1F4C
triadic
#8E1F83 #838E1F #1F838E
tetradic
#8E1F83 #8E621F #1F8E2A #1F4C8E
square
#8E1F83 #8E621F #1F8E2A #1F4C8E
split-complementary
#8E1F83 #4C8E1F #1F8E62
monochromatic
#2A0926 #5C1455 #8E1F83 #C02AB1 #D94FCB

Accessibility & contrast

On white

7.85
#8E1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F83
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F83#FFFFFF#000000##FFFFFF
##8E1F831.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1f83;
/* rgb */ color: rgb(142, 31, 131);
/* oklch */ color: oklch(46.1% 0.181 332.6);
Tailwind
colors: {
  custom: {
    50: '#b368a7',
    500: '#8e1f83',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f83;
$custom-light: #b368a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f83",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 305.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46149,
    "c": 0.1812,
    "h": 332.6
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#8E1F83
secondary
#4DBB58
accent
#E75141
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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