#8F3AA4#8F3AA4

#8F3AA4 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.176 H 319.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8F3AA4
RGBrgb(143, 58, 164)
HSLhsl(288, 48%, 44%)
HSVhsv(288, 65%, 64%)
CMYKcmyk(12.8%, 64.6%, 0%, 35.7%)
CIE-LABlab(40.49, 51.62, -41.31)
CIE-LCHlch(40.49, 66.11, 321.33°)
OKLaboklab(50.92% 0.1335 -0.1154)
OKLCHoklch(50.92% 0.176 319.1)
XYZxyz(19.5407, 11.5470, 36.3142)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AA4 #4FA43A
analogous
#5A3AA4 #8F3AA4 #A43A84
triadic
#8F3AA4 #A48F3A #3AA48F
tetradic
#8F3AA4 #A45A3A #4FA43A #3A84A4
square
#8F3AA4 #A45A3A #4FA43A #3A84A4
split-complementary
#8F3AA4 #84A43A #3AA45A
monochromatic
#401A4A #682A77 #8F3AA4 #AE57C4 #C485D4

Accessibility & contrast

On white

6.35
#8F3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F3AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AA4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AA4#FFFFFF#000000##FFFFFF
##8F3AA41.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#4162A1
Tritanopia (blue-blind)
#8F4C6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f3aa4;
/* rgb */ color: rgb(143, 58, 164);
/* oklch */ color: oklch(50.9% 0.176 319.1);
Tailwind
colors: {
  custom: {
    50: '#b376bf',
    500: '#8f3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aa4;
$custom-light: #b376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aa4",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 288.113,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.17647,
    "h": 319.1
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#8F3AA4
secondary
#89BE7C
accent
#D7506B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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