#8E28A7#8E28A7

#8E28A7 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.1% C 0.201 H 318.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8E28A7
RGBrgb(142, 40, 167)
HSLhsl(288, 61%, 41%)
HSVhsv(288, 76%, 65%)
CMYKcmyk(15%, 76%, 0%, 34.5%)
CIE-LABlab(37.95, 59.24, -47.17)
CIE-LCHlch(37.95, 75.73, 321.47°)
OKLaboklab(49.13% 0.1512 -0.1325)
OKLCHoklch(49.13% 0.201 318.8)
XYZxyz(18.8882, 10.0593, 37.4984)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E28A7 #41A728
analogous
#4E28A7 #8E28A7 #A72880
triadic
#8E28A7 #A78E28 #28A78E
tetradic
#8E28A7 #A74E28 #41A728 #2880A7
square
#8E28A7 #A74E28 #41A728 #2880A7
split-complementary
#8E28A7 #80A728 #28A74E
monochromatic
#3A1044 #641C76 #8E28A7 #B33CD0 #C66DDC

Accessibility & contrast

On white

6.97
#8E28A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E28A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E28A7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E28A7#FFFFFF#000000##FFFFFF
##8E28A71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#305DA4
Tritanopia (blue-blind)
#8E4366
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e28a7;
/* rgb */ color: rgb(142, 40, 167);
/* oklch */ color: oklch(49.1% 0.201 318.8);
Tailwind
colors: {
  custom: {
    50: '#b36dc2',
    500: '#8e28a7',
    950: '#000000',
  },
}
SCSS
$custom: #8e28a7;
$custom-light: #b36dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e28a7",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 288.189,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.20103,
    "h": 318.8
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#8E28A7
secondary
#7AC368
accent
#E44363
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8E28A7

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

Preview Lab → · Contrast checker → · Palette generator →

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