#8F34A4#8F34A4

#8F34A4 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.185 H 319.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8F34A4
RGBrgb(143, 52, 164)
HSLhsl(289, 52%, 42%)
HSVhsv(289, 68%, 64%)
CMYKcmyk(12.8%, 68.3%, 0%, 35.7%)
CIE-LABlab(39.54, 54.26, -42.82)
CIE-LCHlch(39.54, 69.11, 321.72°)
OKLaboklab(50.24% 0.1405 -0.1198)
OKLCHoklch(50.24% 0.185 319.5)
XYZxyz(19.2557, 10.9769, 36.2192)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34A4 #49A434
analogous
#5734A4 #8F34A4 #A43481
triadic
#8F34A4 #A48F34 #34A48F
tetradic
#8F34A4 #A45734 #49A434 #3481A4
square
#8F34A4 #A45734 #49A434 #3481A4
split-complementary
#8F34A4 #81A434 #34A457
monochromatic
#3E1747 #662576 #8F34A4 #B04EC7 #C57DD6

Accessibility & contrast

On white

6.57
#8F34A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F34A4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34A4#FFFFFF#000000##FFFFFF
##8F34A41.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#3C60A1
Tritanopia (blue-blind)
#8F4868
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f34a4;
/* rgb */ color: rgb(143, 52, 164);
/* oklch */ color: oklch(50.2% 0.185 319.5);
Tailwind
colors: {
  custom: {
    50: '#b373bf',
    500: '#8f34a4',
    950: '#000000',
  },
}
SCSS
$custom: #8f34a4;
$custom-light: #b373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34a4",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 288.75,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.18462,
    "h": 319.5
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#8F34A4
secondary
#83BF75
accent
#DB4C67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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