#8A34AD#8A34AD

#8A34AD is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.191 H 314.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A34AD
RGBrgb(138, 52, 173)
HSLhsl(283, 54%, 44%)
HSVhsv(283, 70%, 68%)
CMYKcmyk(20.2%, 69.9%, 0%, 32.2%)
CIE-LABlab(39.37, 54.96, -48.50)
CIE-LCHlch(39.37, 73.30, 318.57°)
OKLaboklab(50.15% 0.1336 -0.1366)
OKLCHoklch(50.15% 0.191 314.4)
XYZxyz(19.2508, 10.8770, 40.6125)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A34AD #57AD34
analogous
#4E34AD #8A34AD #AD3494
triadic
#8A34AD #AD8A34 #34AD8A
tetradic
#8A34AD #AD4E34 #57AD34 #3494AD
square
#8A34AD #AD4E34 #57AD34 #3494AD
split-complementary
#8A34AD #94AD34 #34AD4E
monochromatic
#3F184F #64267E #8A34AD #A853CB #C082D9

Accessibility & contrast

On white

6.61
#8A34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A34AD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A34AD#FFFFFF#000000##FFFFFF
##8A34AD1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#874D6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a34ad;
/* rgb */ color: rgb(138, 52, 173);
/* oklch */ color: oklch(50.1% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#b073c6',
    500: '#8a34ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a34ad;
$custom-light: #b073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a34ad",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 282.645,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.19109,
    "h": 314.4
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#8A34AD
secondary
#8FC37A
accent
#DD4B75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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