#8E1B83#8E1B83

#8E1B83 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.185 H 332.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8E1B83
RGBrgb(142, 27, 131)
HSLhsl(306, 68%, 33%)
HSVhsv(306, 81%, 56%)
CMYKcmyk(0%, 81%, 7.7%, 44.3%)
CIE-LABlab(34.34, 57.01, -30.95)
CIE-LCHlch(34.34, 64.87, 331.50°)
OKLaboklab(45.86% 0.1643 -0.0852)
OKLCHoklch(45.86% 0.185 332.6)
XYZxyz(15.6441, 8.1747, 22.2223)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B83 #1B8E26
analogous
#5F1B8E #8E1B83 #8E1B49
triadic
#8E1B83 #838E1B #1B838E
tetradic
#8E1B83 #8E5F1B #1B8E26 #1B498E
square
#8E1B83 #8E5F1B #1B8E26 #1B498E
split-complementary
#8E1B83 #498E1B #1B8E5F
monochromatic
#270724 #5B1154 #8E1B83 #C125B2 #DC47CE

Accessibility & contrast

On white

7.97
#8E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B83
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B83#FFFFFF#000000##FFFFFF
##8E1B831.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#94294F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1b83;
/* rgb */ color: rgb(142, 27, 131);
/* oklch */ color: oklch(45.9% 0.185 332.6);
Tailwind
colors: {
  custom: {
    50: '#b367a7',
    500: '#8e1b83',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b83;
$custom-light: #b367a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b83",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 305.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45863,
    "c": 0.18501,
    "h": 332.6
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#8E1B83
secondary
#47BE52
accent
#EB4E3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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