#8E28AE#8E28AE

#8E28AE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.207 H 316.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8E28AE
RGBrgb(142, 40, 174)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 77%, 68%)
CMYKcmyk(18.4%, 77%, 0%, 31.8%)
CIE-LABlab(38.42, 60.59, -50.60)
CIE-LCHlch(38.42, 78.94, 320.14°)
OKLaboklab(49.62% 0.1503 -0.1426)
OKLCHoklch(49.62% 0.207 316.5)
XYZxyz(19.5529, 10.3252, 40.9992)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E28AE #48AE28
analogous
#4B28AE #8E28AE #AE288B
triadic
#8E28AE #AE8E28 #28AE8E
tetradic
#8E28AE #AE4B28 #48AE28 #288BAE
square
#8E28AE #AE4B28 #48AE28 #288BAE
split-complementary
#8E28AE #8BAE28 #28AE4B
monochromatic
#3D114A #651D7C #8E28AE #B040D3 #C572DF

Accessibility & contrast

On white

6.85
#8E28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8E28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E28AE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E28AE#FFFFFF#000000##FFFFFF
##8E28AE1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#8C466A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e28ae;
/* rgb */ color: rgb(142, 40, 174);
/* oklch */ color: oklch(49.6% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#b36ec7',
    500: '#8e28ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e28ae;
$custom-light: #b36ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e28ae",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 285.672,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.20712,
    "h": 316.5
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#8E28AE
secondary
#82C66C
accent
#E64269
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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