#8F32AE#8F32AE

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

Color values

HEX#8F32AE
RGBrgb(143, 50, 174)
HSLhsl(285, 55%, 44%)
HSVhsv(285, 71%, 68%)
CMYKcmyk(17.8%, 71.3%, 0%, 31.8%)
CIE-LABlab(39.88, 57.07, -48.24)
CIE-LCHlch(39.88, 74.73, 319.79°)
OKLaboklab(50.68% 0.142 -0.1357)
OKLCHoklch(50.68% 0.196 316.3)
XYZxyz(20.1071, 11.1776, 41.1345)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32AE #51AE32
analogous
#5132AE #8F32AE #AE328F
triadic
#8F32AE #AE8F32 #32AE8F
tetradic
#8F32AE #AE5132 #51AE32 #328FAE
square
#8F32AE #AE5132 #51AE32 #328FAE
split-complementary
#8F32AE #8FAE32 #32AE51
monochromatic
#41174F #68247E #8F32AE #AE50CD #C480DA

Accessibility & contrast

On white

6.49
#8F32AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F32AE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32AE#FFFFFF#000000##FFFFFF
##8F32AE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#8D4B6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f32ae;
/* rgb */ color: rgb(143, 50, 174);
/* oklch */ color: oklch(50.7% 0.196 316.3);
Tailwind
colors: {
  custom: {
    50: '#b472c7',
    500: '#8f32ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f32ae;
$custom-light: #b472c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32ae",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 285,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50682,
    "c": 0.19638,
    "h": 316.3
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#8F32AE
secondary
#8BC478
accent
#DF496F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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