#8B34AF#8B34AF

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

Color values

HEX#8B34AF
RGBrgb(139, 52, 175)
HSLhsl(282, 54%, 45%)
HSVhsv(282, 70%, 69%)
CMYKcmyk(20.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(39.65, 55.59, -49.23)
CIE-LCHlch(39.65, 74.26, 318.47°)
OKLaboklab(50.42% 0.1347 -0.1387)
OKLCHoklch(50.42% 0.193 314.2)
XYZxyz(19.6120, 11.0407, 41.6471)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34AF #58AF34
analogous
#4E34AF #8B34AF #AF3496
triadic
#8B34AF #AF8B34 #34AF8B
tetradic
#8B34AF #AF4E34 #58AF34 #3496AF
square
#8B34AF #AF4E34 #58AF34 #3496AF
split-complementary
#8B34AF #96AF34 #34AF4E
monochromatic
#401851 #662680 #8B34AF #A954CC #C183DA

Accessibility & contrast

On white

6.55
#8B34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8B34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34AF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34AF#FFFFFF#000000##FFFFFF
##8B34AF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2D60AC
Tritanopia (blue-blind)
#884D6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b34af;
/* rgb */ color: rgb(139, 52, 175);
/* oklch */ color: oklch(50.4% 0.193 314.2);
Tailwind
colors: {
  custom: {
    50: '#b173c7',
    500: '#8b34af',
    950: '#000000',
  },
}
SCSS
$custom: #8b34af;
$custom-light: #b173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34af",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 282.439,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.19338,
    "h": 314.2
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#8B34AF
secondary
#90C47B
accent
#DE4A75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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