#8E28AA#8E28AA

#8E28AA is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.204 H 317.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E28AA
RGBrgb(142, 40, 170)
HSLhsl(287, 62%, 41%)
HSVhsv(287, 76%, 67%)
CMYKcmyk(16.5%, 76.5%, 0%, 33.3%)
CIE-LABlab(38.15, 59.82, -48.65)
CIE-LCHlch(38.15, 77.10, 320.88°)
OKLaboklab(49.34% 0.1508 -0.1368)
OKLCHoklch(49.34% 0.204 317.8)
XYZxyz(19.1688, 10.1715, 38.9760)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E28AA #44AA28
analogous
#4D28AA #8E28AA #AA2885
triadic
#8E28AA #AA8E28 #28AA8E
tetradic
#8E28AA #AA4D28 #44AA28 #2885AA
square
#8E28AA #AA4D28 #44AA28 #2885AA
split-complementary
#8E28AA #85AA28 #28AA4D
monochromatic
#3B1147 #651C78 #8E28AA #B23ED2 #C56FDD

Accessibility & contrast

On white

6.92
#8E28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E28AA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E28AA#FFFFFF#000000##FFFFFF
##8E28AA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#8D4468
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e28aa;
/* rgb */ color: rgb(142, 40, 170);
/* oklch */ color: oklch(49.3% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#b36dc4',
    500: '#8e28aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e28aa;
$custom-light: #b36dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e28aa",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 287.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.20363,
    "h": 317.8
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#8E28AA
secondary
#7DC46A
accent
#E54366
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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