#8F34AA#8F34AA

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

Color values

HEX#8F34AA
RGBrgb(143, 52, 170)
HSLhsl(286, 53%, 44%)
HSVhsv(286, 69%, 67%)
CMYKcmyk(15.9%, 69.4%, 0%, 33.3%)
CIE-LABlab(39.91, 55.45, -45.80)
CIE-LCHlch(39.91, 71.92, 320.44°)
OKLaboklab(50.63% 0.1402 -0.1286)
OKLCHoklch(50.63% 0.19 317.5)
XYZxyz(19.8103, 11.1987, 39.1405)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34AA #4FAA34
analogous
#5434AA #8F34AA #AA348A
triadic
#8F34AA #AA8F34 #34AA8F
tetradic
#8F34AA #AA5434 #4FAA34 #348AAA
square
#8F34AA #AA5434 #4FAA34 #348AAA
split-complementary
#8F34AA #8AAA34 #34AA54
monochromatic
#40174C #68267B #8F34AA #AE51CA #C480D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F34AA#FFFFFF#000000##FFFFFF
##8F34AA1.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)
#0058AD
Deuteranopia (green-blind)
#3761A7
Tritanopia (blue-blind)
#8E4B6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f34aa;
/* rgb */ color: rgb(143, 52, 170);
/* oklch */ color: oklch(50.6% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#b373c4',
    500: '#8f34aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f34aa;
$custom-light: #b373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34aa",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 286.271,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.19019,
    "h": 317.5
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#8F34AA
secondary
#89C178
accent
#DD4B6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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