#8E1D83#8E1D83

#8E1D83 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.183 H 332.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E1D83
RGBrgb(142, 29, 131)
HSLhsl(306, 66%, 34%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 79.6%, 7.7%, 44.3%)
CIE-LABlab(34.54, 56.45, -30.65)
CIE-LCHlch(34.54, 64.24, 331.50°)
OKLaboklab(46% 0.1626 -0.0843)
OKLCHoklch(46% 0.183 332.6)
XYZxyz(15.6915, 8.2696, 22.2381)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D83 #1D8E28
analogous
#601D8E #8E1D83 #8E1D4A
triadic
#8E1D83 #838E1D #1D838E
tetradic
#8E1D83 #8E601D #1D8E28 #1D4A8E
square
#8E1D83 #8E601D #1D8E28 #1D4A8E
split-complementary
#8E1D83 #4A8E1D #1D8E60
monochromatic
#280825 #5B1354 #8E1D83 #C127B2 #DA4BCC

Accessibility & contrast

On white

7.91
#8E1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D83
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D83#FFFFFF#000000##FFFFFF
##8E1D831.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#942B4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d83;
/* rgb */ color: rgb(142, 29, 131);
/* oklch */ color: oklch(46.0% 0.183 332.6);
Tailwind
colors: {
  custom: {
    50: '#b367a7',
    500: '#8e1d83',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d83;
$custom-light: #b367a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d83",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 305.841,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.18317,
    "h": 332.6
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#8E1D83
secondary
#4ABD55
accent
#E94F3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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