#8F3AAF#8F3AAF

#8F3AAF is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.187 H 315.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F3AAF
RGBrgb(143, 58, 175)
HSLhsl(284, 50%, 46%)
HSVhsv(284, 67%, 69%)
CMYKcmyk(18.3%, 66.9%, 0%, 31.4%)
CIE-LABlab(41.16, 53.87, -46.78)
CIE-LCHlch(41.16, 71.35, 319.03°)
OKLaboklab(51.62% 0.1332 -0.1315)
OKLCHoklch(51.62% 0.187 315.4)
XYZxyz(20.5774, 11.9616, 41.7740)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AAF #5AAF3A
analogous
#543AAF #8F3AAF #AF3A94
triadic
#8F3AAF #AF8F3A #3AAF8F
tetradic
#8F3AAF #AF543A #5AAF3A #3A94AF
square
#8F3AAF #AF543A #5AAF3A #3A94AF
split-complementary
#8F3AAF #94AF3A #3AAF54
monochromatic
#441C53 #692B81 #8F3AAF #AC5DC9 #C38BD9

Accessibility & contrast

On white

6.19
#8F3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AAF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AAF#FFFFFF#000000##FFFFFF
##8F3AAF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#8D5070
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3aaf;
/* rgb */ color: rgb(143, 58, 175);
/* oklch */ color: oklch(51.6% 0.187 315.4);
Tailwind
colors: {
  custom: {
    50: '#b376c7',
    500: '#8f3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aaf;
$custom-light: #b376c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aaf",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 283.59,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51617,
    "c": 0.18714,
    "h": 315.4
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#8F3AAF
secondary
#94C382
accent
#DA4E74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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