#8F32AA#8F32AA

#8F32AA is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.193 H 317.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8F32AA
RGBrgb(143, 50, 170)
HSLhsl(287, 55%, 43%)
HSVhsv(287, 71%, 67%)
CMYKcmyk(15.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(39.62, 56.27, -46.27)
CIE-LCHlch(39.62, 72.85, 320.57°)
OKLaboklab(50.42% 0.1423 -0.1299)
OKLCHoklch(50.42% 0.193 317.6)
XYZxyz(19.7230, 11.0240, 39.1113)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32AA #4DAA32
analogous
#5332AA #8F32AA #AA3289
triadic
#8F32AA #AA8F32 #32AA8F
tetradic
#8F32AA #AA5332 #4DAA32 #3289AA
square
#8F32AA #AA5332 #4DAA32 #3289AA
split-complementary
#8F32AA #89AA32 #32AA53
monochromatic
#3F164B #67247B #8F32AA #AF4ECB #C47DD9

Accessibility & contrast

On white

6.55
#8F32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32AA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32AA#FFFFFF#000000##FFFFFF
##8F32AA1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#8E496A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f32aa;
/* rgb */ color: rgb(143, 50, 170);
/* oklch */ color: oklch(50.4% 0.193 317.6);
Tailwind
colors: {
  custom: {
    50: '#b372c4',
    500: '#8f32aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f32aa;
$custom-light: #b372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32aa",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 286.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.19269,
    "h": 317.6
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#8F32AA
secondary
#87C276
accent
#DE4A6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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