#8F3AAA#8F3AAA

#8F3AAA is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.182 H 317.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8F3AAA
RGBrgb(143, 58, 170)
HSLhsl(286, 49%, 45%)
HSVhsv(286, 66%, 67%)
CMYKcmyk(15.9%, 65.9%, 0%, 33.3%)
CIE-LABlab(40.85, 52.84, -44.31)
CIE-LCHlch(40.85, 68.96, 320.02°)
OKLaboklab(51.3% 0.1334 -0.1242)
OKLCHoklch(51.3% 0.182 317)
XYZxyz(20.0954, 11.7688, 39.2355)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AAA #55AA3A
analogous
#573AAA #8F3AAA #AA3A8D
triadic
#8F3AAA #AA8F3A #3AAA8F
tetradic
#8F3AAA #AA573A #55AA3A #3A8DAA
square
#8F3AAA #AA573A #55AA3A #3A8DAA
split-complementary
#8F3AAA #8DAA3A #3AAA57
monochromatic
#421B4F #692A7C #8F3AAA #AD5AC7 #C488D6

Accessibility & contrast

On white

6.26
#8F3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AAA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AAA#FFFFFF#000000##FFFFFF
##8F3AAA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#8E4E6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3aaa;
/* rgb */ color: rgb(143, 58, 170);
/* oklch */ color: oklch(51.3% 0.182 317.0);
Tailwind
colors: {
  custom: {
    50: '#b376c4',
    500: '#8f3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aaa;
$custom-light: #b376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aaa",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 285.536,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.18227,
    "h": 317
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#8F3AAA
secondary
#8FC17F
accent
#D94F70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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