#8E28BD#8E28BD

#8E28BD is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.220 H 312.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8E28BD
RGBrgb(142, 40, 189)
HSLhsl(281, 65%, 45%)
HSVhsv(281, 79%, 74%)
CMYKcmyk(24.9%, 78.8%, 0%, 25.9%)
CIE-LABlab(39.48, 63.58, -57.74)
CIE-LCHlch(39.48, 85.89, 317.76°)
OKLaboklab(50.7% 0.1476 -0.1635)
OKLCHoklch(50.7% 0.22 312.1)
XYZxyz(21.0977, 10.9431, 49.1351)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E28BD #57BD28
analogous
#4428BD #8E28BD #BD28A2
triadic
#8E28BD #BD8E28 #28BD8E
tetradic
#8E28BD #BD4428 #57BD28 #28A2BD
square
#8E28BD #BD4428 #57BD28 #28A2BD
split-complementary
#8E28BD #A2BD28 #28BD44
monochromatic
#421358 #681D8A #8E28BD #AB4AD9 #C37CE3

Accessibility & contrast

On white

6.59
#8E28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E28BD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E28BD#FFFFFF#000000##FFFFFF
##8E28BD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#055FBA
Tritanopia (blue-blind)
#884D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e28bd;
/* rgb */ color: rgb(142, 40, 189);
/* oklch */ color: oklch(50.7% 0.220 312.1);
Tailwind
colors: {
  custom: {
    50: '#b46ed2',
    500: '#8e28bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e28bd;
$custom-light: #b46ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e28bd",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 281.074,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.22031,
    "h": 312.1
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#8E28BD
secondary
#90CB75
accent
#E84075
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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