#8E34AE#8E34AE

#8E34AE is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.194 H 315.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8E34AE
RGBrgb(142, 52, 174)
HSLhsl(284, 54%, 44%)
HSVhsv(284, 70%, 68%)
CMYKcmyk(18.4%, 70.1%, 0%, 31.8%)
CIE-LABlab(40.02, 56.04, -48.02)
CIE-LCHlch(40.02, 73.80, 319.41°)
OKLaboklab(50.75% 0.1386 -0.1351)
OKLCHoklch(50.75% 0.194 315.7)
XYZxyz(20.0221, 11.2635, 41.1556)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E34AE #54AE34
analogous
#5134AE #8E34AE #AE3491
triadic
#8E34AE #AE8E34 #34AE8E
tetradic
#8E34AE #AE5134 #54AE34 #3491AE
square
#8E34AE #AE5134 #54AE34 #3491AE
split-complementary
#8E34AE #91AE34 #34AE51
monochromatic
#411850 #68267F #8E34AE #AC53CC #C383DA

Accessibility & contrast

On white

6.46
#8E34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8E34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E34AE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E34AE#FFFFFF#000000##FFFFFF
##8E34AE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#8C4C6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e34ae;
/* rgb */ color: rgb(142, 52, 174);
/* oklch */ color: oklch(50.8% 0.194 315.7);
Tailwind
colors: {
  custom: {
    50: '#b373c7',
    500: '#8e34ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e34ae;
$custom-light: #b373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e34ae",
  "rgb": {
    "r": 142,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 284.262,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.19355,
    "h": 315.7
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#8E34AE
secondary
#8EC37B
accent
#DD4A71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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