#8F3AA1#8F3AA1

#8F3AA1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 320.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F3AA1
RGBrgb(143, 58, 161)
HSLhsl(290, 47%, 43%)
HSVhsv(290, 64%, 63%)
CMYKcmyk(11.2%, 64%, 0%, 36.9%)
CIE-LABlab(40.31, 51.02, -39.79)
CIE-LCHlch(40.31, 64.70, 322.05°)
OKLaboklab(50.74% 0.1335 -0.111)
OKLCHoklch(50.74% 0.174 320.2)
XYZxyz(19.2730, 11.4399, 34.9042)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AA1 #4CA13A
analogous
#5C3AA1 #8F3AA1 #A13A7F
triadic
#8F3AA1 #A18F3A #3AA18F
tetradic
#8F3AA1 #A15C3A #4CA13A #3A7FA1
square
#8F3AA1 #A15C3A #4CA13A #3A7FA1
split-complementary
#8F3AA1 #7FA13A #3AA15C
monochromatic
#3F1A47 #672A74 #8F3AA1 #AF56C2 #C483D2

Accessibility & contrast

On white

6.39
#8F3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F3AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AA1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AA1#FFFFFF#000000##FFFFFF
##8F3AA11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#904B68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f3aa1;
/* rgb */ color: rgb(143, 58, 161);
/* oklch */ color: oklch(50.7% 0.174 320.2);
Tailwind
colors: {
  custom: {
    50: '#b376bd',
    500: '#8f3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aa1;
$custom-light: #b376bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aa1",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 289.515,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.1736,
    "h": 320.2
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#8F3AA1
secondary
#86BC7B
accent
#D75168
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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