#8E2088#8E2088

#8E2088 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.184 H 330.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2088
RGBrgb(142, 32, 136)
HSLhsl(303, 63%, 34%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 77.5%, 4.2%, 44.3%)
CIE-LABlab(35.13, 56.36, -32.81)
CIE-LCHlch(35.13, 65.22, 329.79°)
OKLaboklab(46.51% 0.1601 -0.0906)
OKLCHoklch(46.51% 0.184 330.5)
XYZxyz(16.1157, 8.5627, 24.0917)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2088 #208E26
analogous
#5D208E #8E2088 #8E2051
triadic
#8E2088 #888E20 #20888E
tetradic
#8E2088 #8E5D20 #208E26 #20518E
square
#8E2088 #8E5D20 #208E26 #20518E
split-complementary
#8E2088 #518E20 #208E5D
monochromatic
#2A0928 #5C1558 #8E2088 #C02BB8 #D851D0

Accessibility & contrast

On white

7.74
#8E2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2088
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2088#FFFFFF#000000##FFFFFF
##8E20881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#942F53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2088;
/* rgb */ color: rgb(142, 32, 136);
/* oklch */ color: oklch(46.5% 0.184 330.5);
Tailwind
colors: {
  custom: {
    50: '#b369ab',
    500: '#8e2088',
    950: '#000000',
  },
}
SCSS
$custom: #8e2088;
$custom-light: #b369ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2088",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 303.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.18397,
    "h": 330.5
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#8E2088
secondary
#4FBB55
accent
#E64B42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2088

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

Preview Lab → · Contrast checker → · Palette generator →

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