#8A34AE#8A34AE

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

Color values

HEX#8A34AE
RGBrgb(138, 52, 174)
HSLhsl(282, 54%, 44%)
HSVhsv(282, 70%, 68%)
CMYKcmyk(20.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(39.44, 55.17, -48.99)
CIE-LCHlch(39.44, 73.78, 318.40°)
OKLaboklab(50.22% 0.1335 -0.138)
OKLCHoklch(50.22% 0.192 314)
XYZxyz(19.3479, 10.9159, 41.1240)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A34AE #58AE34
analogous
#4D34AE #8A34AE #AE3495
triadic
#8A34AE #AE8A34 #34AE8A
tetradic
#8A34AE #AE4D34 #58AE34 #3495AE
square
#8A34AE #AE4D34 #58AE34 #3495AE
split-complementary
#8A34AE #95AE34 #34AE4D
monochromatic
#3F1850 #65267F #8A34AE #A853CC #C083DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A34AE#FFFFFF#000000##FFFFFF
##8A34AE1.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)
#0058B2
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#874D6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a34ae;
/* rgb */ color: rgb(138, 52, 174);
/* oklch */ color: oklch(50.2% 0.192 314.0);
Tailwind
colors: {
  custom: {
    50: '#b073c7',
    500: '#8a34ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a34ae;
$custom-light: #b073c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a34ae",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 282.295,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50218,
    "c": 0.19206,
    "h": 314
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#8A34AE
secondary
#90C37B
accent
#DD4A76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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