#8F34AC#8F34AC

#8F34AC is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.192 H 316.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8F34AC
RGBrgb(143, 52, 172)
HSLhsl(286, 54%, 44%)
HSVhsv(286, 70%, 67%)
CMYKcmyk(16.9%, 69.8%, 0%, 32.5%)
CIE-LABlab(40.04, 55.85, -46.79)
CIE-LCHlch(40.04, 72.86, 320.04°)
OKLaboklab(50.76% 0.14 -0.1314)
OKLCHoklch(50.76% 0.192 316.8)
XYZxyz(20.0010, 11.2750, 40.1445)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34AC #51AC34
analogous
#5334AC #8F34AC #AC348D
triadic
#8F34AC #AC8F34 #34AC8F
tetradic
#8F34AC #AC5334 #51AC34 #348DAC
square
#8F34AC #AC5334 #51AC34 #348DAC
split-complementary
#8F34AC #8DAC34 #34AC53
monochromatic
#41184E #68267D #8F34AC #AE52CB #C481D9

Accessibility & contrast

On white

6.45
#8F34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8F34AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34AC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34AC#FFFFFF#000000##FFFFFF
##8F34AC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#8E4C6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f34ac;
/* rgb */ color: rgb(143, 52, 172);
/* oklch */ color: oklch(50.8% 0.192 316.8);
Tailwind
colors: {
  custom: {
    50: '#b373c5',
    500: '#8f34ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f34ac;
$custom-light: #b373c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34ac",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 285.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.19206,
    "h": 316.8
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#8F34AC
secondary
#8BC279
accent
#DD4B6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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