#8F32AC#8F32AC

#8F32AC is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.195 H 316.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F32AC
RGBrgb(143, 50, 172)
HSLhsl(286, 55%, 44%)
HSVhsv(286, 71%, 67%)
CMYKcmyk(16.9%, 70.9%, 0%, 32.5%)
CIE-LABlab(39.75, 56.67, -47.26)
CIE-LCHlch(39.75, 73.79, 320.17°)
OKLaboklab(50.55% 0.1422 -0.1328)
OKLCHoklch(50.55% 0.195 316.9)
XYZxyz(19.9136, 11.1002, 40.1153)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32AC #4FAC32
analogous
#5232AC #8F32AC #AC328C
triadic
#8F32AC #AC8F32 #32AC8F
tetradic
#8F32AC #AC5232 #4FAC32 #328CAC
square
#8F32AC #AC5232 #4FAC32 #328CAC
split-complementary
#8F32AC #8CAC32 #32AC52
monochromatic
#40164D #68247D #8F32AC #AE4FCC #C47FDA

Accessibility & contrast

On white

6.52
#8F32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32AC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32AC#FFFFFF#000000##FFFFFF
##8F32AC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3460A9
Tritanopia (blue-blind)
#8E4A6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f32ac;
/* rgb */ color: rgb(143, 50, 172);
/* oklch */ color: oklch(50.5% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#b372c5',
    500: '#8f32ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f32ac;
$custom-light: #b372c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32ac",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 285.738,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.19454,
    "h": 316.9
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#8F32AC
secondary
#89C377
accent
#DE4A6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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