#8F34AE#8F34AE

#8F34AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.194 H 316.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F34AE
RGBrgb(143, 52, 174)
HSLhsl(285, 54%, 44%)
HSVhsv(285, 70%, 68%)
CMYKcmyk(17.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(40.17, 56.25, -47.77)
CIE-LCHlch(40.17, 73.80, 319.66°)
OKLaboklab(50.89% 0.1399 -0.1343)
OKLCHoklch(50.89% 0.194 316.2)
XYZxyz(20.1945, 11.3524, 41.1637)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F34AE #53AE34
analogous
#5234AE #8F34AE #AE3490
triadic
#8F34AE #AE8F34 #34AE8F
tetradic
#8F34AE #AE5234 #53AE34 #3490AE
square
#8F34AE #AE5234 #53AE34 #3490AE
split-complementary
#8F34AE #90AE34 #34AE52
monochromatic
#421850 #68267F #8F34AE #AD53CC #C483DA

Accessibility & contrast

On white

6.42
#8F34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F34AE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F34AE#FFFFFF#000000##FFFFFF
##8F34AE1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#8D4C6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f34ae;
/* rgb */ color: rgb(143, 52, 174);
/* oklch */ color: oklch(50.9% 0.194 316.2);
Tailwind
colors: {
  custom: {
    50: '#b373c7',
    500: '#8f34ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f34ae;
$custom-light: #b373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f34ae",
  "rgb": {
    "r": 143,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 284.754,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.19393,
    "h": 316.2
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#8F34AE
secondary
#8DC37B
accent
#DD4A70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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