#8A34AF#8A34AF

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

Color values

HEX#8A34AF
RGBrgb(138, 52, 175)
HSLhsl(282, 54%, 45%)
HSVhsv(282, 70%, 69%)
CMYKcmyk(21.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(39.50, 55.38, -49.47)
CIE-LCHlch(39.50, 74.26, 318.22°)
OKLaboklab(50.29% 0.1334 -0.1395)
OKLCHoklch(50.29% 0.193 313.7)
XYZxyz(19.4458, 10.9550, 41.6393)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A34AF #59AF34
analogous
#4C34AF #8A34AF #AF3497
triadic
#8A34AF #AF8A34 #34AF8A
tetradic
#8A34AF #AF4C34 #59AF34 #3497AF
square
#8A34AF #AF4C34 #59AF34 #3497AF
split-complementary
#8A34AF #97AF34 #34AF4C
monochromatic
#401851 #652680 #8A34AF #A854CC #C083DA

Accessibility & contrast

On white

6.58
#8A34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A34AF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A34AF#FFFFFF#000000##FFFFFF
##8A34AF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#864E6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a34af;
/* rgb */ color: rgb(138, 52, 175);
/* oklch */ color: oklch(50.3% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#b073c8',
    500: '#8a34af',
    950: '#000000',
  },
}
SCSS
$custom: #8a34af;
$custom-light: #b073c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a34af",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 281.951,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.19302,
    "h": 313.7
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#8A34AF
secondary
#91C47B
accent
#DE4A77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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