#8E28AF#8E28AF

#8E28AF is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.208 H 316.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E28AF
RGBrgb(142, 40, 175)
HSLhsl(285, 63%, 42%)
HSVhsv(285, 77%, 69%)
CMYKcmyk(18.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(38.49, 60.79, -51.08)
CIE-LCHlch(38.49, 79.40, 319.96°)
OKLaboklab(49.69% 0.1501 -0.144)
OKLCHoklch(49.69% 0.208 316.2)
XYZxyz(19.6508, 10.3643, 41.5145)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E28AF #49AF28
analogous
#4A28AF #8E28AF #AF288D
triadic
#8E28AF #AF8E28 #28AF8E
tetradic
#8E28AF #AF4A28 #49AF28 #288DAF
square
#8E28AF #AF4A28 #49AF28 #288DAF
split-complementary
#8E28AF #8DAF28 #28AF4A
monochromatic
#3D114B #661D7D #8E28AF #B041D4 #C473DF

Accessibility & contrast

On white

6.83
#8E28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E28AF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E28AF#FFFFFF#000000##FFFFFF
##8E28AF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#275DAC
Tritanopia (blue-blind)
#8C466B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e28af;
/* rgb */ color: rgb(142, 40, 175);
/* oklch */ color: oklch(49.7% 0.208 316.2);
Tailwind
colors: {
  custom: {
    50: '#b36ec8',
    500: '#8e28af',
    950: '#000000',
  },
}
SCSS
$custom: #8e28af;
$custom-light: #b36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e28af",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 285.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.20799,
    "h": 316.2
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#8E28AF
secondary
#83C66D
accent
#E6426A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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