#8F3CAA#8F3CAA

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

Color values

HEX#8F3CAA
RGBrgb(143, 60, 170)
HSLhsl(285, 48%, 45%)
HSVhsv(285, 65%, 67%)
CMYKcmyk(15.9%, 64.7%, 0%, 33.3%)
CIE-LABlab(41.18, 51.93, -43.78)
CIE-LCHlch(41.18, 67.92, 319.86°)
OKLaboklab(51.53% 0.131 -0.1227)
OKLCHoklch(51.53% 0.18 316.9)
XYZxyz(20.1982, 11.9744, 39.2698)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CAA #57AA3C
analogous
#583CAA #8F3CAA #AA3C8E
triadic
#8F3CAA #AA8F3C #3CAA8F
tetradic
#8F3CAA #AA583C #57AA3C #3C8EAA
square
#8F3CAA #AA583C #57AA3C #3C8EAA
split-complementary
#8F3CAA #8EAA3C #3CAA58
monochromatic
#431C50 #692C7D #8F3CAA #AC5DC6 #C38BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F3CAA#FFFFFF#000000##FFFFFF
##8F3CAA1.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)
#145CAD
Deuteranopia (green-blind)
#3E64A7
Tritanopia (blue-blind)
#8E506E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3caa;
/* rgb */ color: rgb(143, 60, 170);
/* oklch */ color: oklch(51.5% 0.179 316.9);
Tailwind
colors: {
  custom: {
    50: '#b377c4',
    500: '#8f3caa',
    950: '#000000',
  },
}
SCSS
$custom: #8f3caa;
$custom-light: #b377c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3caa",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 285.273,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.1795,
    "h": 316.9
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#8F3CAA
secondary
#91C081
accent
#D75072
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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