#8E30AE#8E30AE

#8E30AE is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 316.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8E30AE
RGBrgb(142, 48, 174)
HSLhsl(285, 57%, 44%)
HSVhsv(285, 72%, 68%)
CMYKcmyk(18.4%, 72.4%, 0%, 31.8%)
CIE-LABlab(39.45, 57.66, -48.94)
CIE-LCHlch(39.45, 75.63, 319.67°)
OKLaboklab(50.35% 0.1427 -0.1377)
OKLCHoklch(50.35% 0.198 316)
XYZxyz(19.8511, 10.9215, 41.0986)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30AE #50AE30
analogous
#4F30AE #8E30AE #AE308F
triadic
#8E30AE #AE8E30 #30AE8E
tetradic
#8E30AE #AE4F30 #50AE30 #308FAE
square
#8E30AE #AE4F30 #50AE30 #308FAE
split-complementary
#8E30AE #8FAE30 #30AE4F
monochromatic
#40164E #67237E #8E30AE #AD4DCE #C37DDB

Accessibility & contrast

On white

6.60
#8E30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30AE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30AE#FFFFFF#000000##FFFFFF
##8E30AE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#8C4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e30ae;
/* rgb */ color: rgb(142, 48, 174);
/* oklch */ color: oklch(50.3% 0.198 316.0);
Tailwind
colors: {
  custom: {
    50: '#b371c7',
    500: '#8e30ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e30ae;
$custom-light: #b371c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30ae",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 284.762,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.19837,
    "h": 316
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#8E30AE
secondary
#8AC476
accent
#E0486E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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