#8B34AE#8B34AE

#8B34AE is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.192 H 314.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8B34AE
RGBrgb(139, 52, 174)
HSLhsl(283, 54%, 44%)
HSVhsv(283, 70%, 68%)
CMYKcmyk(20.1%, 70.1%, 0%, 31.8%)
CIE-LABlab(39.58, 55.38, -48.75)
CIE-LCHlch(39.58, 73.78, 318.65°)
OKLaboklab(50.35% 0.1348 -0.1373)
OKLCHoklch(50.35% 0.192 314.5)
XYZxyz(19.5142, 11.0016, 41.1318)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34AE #57AE34
analogous
#4E34AE #8B34AE #AE3494
triadic
#8B34AE #AE8B34 #34AE8B
tetradic
#8B34AE #AE4E34 #57AE34 #3494AE
square
#8B34AE #AE4E34 #57AE34 #3494AE
split-complementary
#8B34AE #94AE34 #34AE4E
monochromatic
#401850 #65267F #8B34AE #A953CC #C183DA

Accessibility & contrast

On white

6.56
#8B34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8B34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34AE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34AE#FFFFFF#000000##FFFFFF
##8B34AE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#2F5FAB
Tritanopia (blue-blind)
#884D6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b34ae;
/* rgb */ color: rgb(139, 52, 174);
/* oklch */ color: oklch(50.4% 0.192 314.5);
Tailwind
colors: {
  custom: {
    50: '#b173c7',
    500: '#8b34ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b34ae;
$custom-light: #b173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34ae",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 282.787,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.19243,
    "h": 314.5
  },
  "luminance": 0.11001
}

Semantic roles & 50–950 ramp

primary
#8B34AE
secondary
#8FC37B
accent
#DD4A75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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