#8E30AA#8E30AA

#8E30AA is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 317.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8E30AA
RGBrgb(142, 48, 170)
HSLhsl(286, 56%, 43%)
HSVhsv(286, 72%, 67%)
CMYKcmyk(16.5%, 71.8%, 0%, 33.3%)
CIE-LABlab(39.19, 56.86, -46.98)
CIE-LCHlch(39.19, 73.75, 320.43°)
OKLaboklab(50.08% 0.1431 -0.132)
OKLCHoklch(50.08% 0.195 317.3)
XYZxyz(19.4669, 10.7678, 39.0754)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30AA #4CAA30
analogous
#5130AA #8E30AA #AA3089
triadic
#8E30AA #AA8E30 #30AA8E
tetradic
#8E30AA #AA5130 #4CAA30 #3089AA
square
#8E30AA #AA5130 #4CAA30 #3089AA
split-complementary
#8E30AA #89AA30 #30AA51
monochromatic
#3E154B #66237A #8E30AA #AF4BCC #C47BDA

Accessibility & contrast

On white

6.66
#8E30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8E30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30AA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30AA#FFFFFF#000000##FFFFFF
##8E30AA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#8D486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e30aa;
/* rgb */ color: rgb(142, 48, 170);
/* oklch */ color: oklch(50.1% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#b371c4',
    500: '#8e30aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e30aa;
$custom-light: #b371c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30aa",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 286.23,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.19471,
    "h": 317.3
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#8E30AA
secondary
#86C274
accent
#DF496B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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