#8E2087#8E2087

#8E2087 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.183 H 330.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2087
RGBrgb(142, 32, 135)
HSLhsl(304, 63%, 34%)
HSVhsv(304, 77%, 56%)
CMYKcmyk(0%, 77.5%, 4.9%, 44.3%)
CIE-LABlab(35.07, 56.20, -32.28)
CIE-LCHlch(35.07, 64.81, 330.12°)
OKLaboklab(46.46% 0.1601 -0.089)
OKLCHoklch(46.46% 0.183 330.9)
XYZxyz(16.0450, 8.5344, 23.7192)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2087 #208E27
analogous
#5E208E #8E2087 #8E2050
triadic
#8E2087 #878E20 #20878E
tetradic
#8E2087 #8E5E20 #208E27 #20508E
square
#8E2087 #8E5E20 #208E27 #20508E
split-complementary
#8E2087 #508E20 #208E5E
monochromatic
#2A0928 #5C1558 #8E2087 #C02BB6 #D851CF

Accessibility & contrast

On white

7.76
#8E2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2087
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2087#FFFFFF#000000##FFFFFF
##8E20871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#942F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2087;
/* rgb */ color: rgb(142, 32, 135);
/* oklch */ color: oklch(46.5% 0.183 330.9);
Tailwind
colors: {
  custom: {
    50: '#b369aa',
    500: '#8e2087',
    950: '#000000',
  },
}
SCSS
$custom: #8e2087;
$custom-light: #b369aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2087",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 303.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.18321,
    "h": 330.9
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#8E2087
secondary
#4FBB56
accent
#E64C42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2087

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

Preview Lab → · Contrast checker → · Palette generator →

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