#8D34AF#8D34AF

#8D34AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.194 H 315.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D34AF
RGBrgb(141, 52, 175)
HSLhsl(283, 54%, 45%)
HSVhsv(283, 70%, 69%)
CMYKcmyk(19.4%, 70.3%, 0%, 31.4%)
CIE-LABlab(39.94, 56.02, -48.75)
CIE-LCHlch(39.94, 74.26, 318.97°)
OKLaboklab(50.69% 0.1373 -0.1373)
OKLCHoklch(50.69% 0.194 315)
XYZxyz(19.9491, 11.2146, 41.6629)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34AF #56AF34
analogous
#5034AF #8D34AF #AF3493
triadic
#8D34AF #AF8D34 #34AF8D
tetradic
#8D34AF #AF5034 #56AF34 #3493AF
square
#8D34AF #AF5034 #56AF34 #3493AF
split-complementary
#8D34AF #93AF34 #34AF50
monochromatic
#411851 #672680 #8D34AF #AB54CC #C283DA

Accessibility & contrast

On white

6.48
#8D34AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D34AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34AF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34AF#FFFFFF#000000##FFFFFF
##8D34AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#8A4D6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d34af;
/* rgb */ color: rgb(141, 52, 175);
/* oklch */ color: oklch(50.7% 0.194 315.0);
Tailwind
colors: {
  custom: {
    50: '#b273c7',
    500: '#8d34af',
    950: '#000000',
  },
}
SCSS
$custom: #8d34af;
$custom-light: #b273c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34af",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 283.415,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.19411,
    "h": 315
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#8D34AF
secondary
#8FC47B
accent
#DE4A73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D34AF

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

Preview Lab → · Contrast checker → · Palette generator →

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