#8D4FAC#8D4FAC

#8D4FAC is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.152 H 313.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8D4FAC
RGBrgb(141, 79, 172)
HSLhsl(280, 37%, 49%)
HSVhsv(280, 54%, 67%)
CMYKcmyk(18%, 54.1%, 0%, 32.5%)
CIE-LABlab(44.57, 42.29, -39.59)
CIE-LCHlch(44.57, 57.93, 316.89°)
OKLaboklab(53.99% 0.1039 -0.1106)
OKLCHoklch(53.99% 0.152 313.2)
XYZxyz(21.2256, 14.2338, 40.6510)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FAC #6EAC4F
analogous
#5F4FAC #8D4FAC #AC4F9D
triadic
#8D4FAC #AC8D4F #4FAC8D
tetradic
#8D4FAC #AC5F4F #6EAC4F #4F9DAC
square
#8D4FAC #AC5F4F #6EAC4F #4F9DAC
split-complementary
#8D4FAC #9DAC4F #4FAC5F
monochromatic
#482858 #6B3C82 #8D4FAC #A877C1 #C3A1D4

Accessibility & contrast

On white

5.46
#8D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8D4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FAC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FAC#FFFFFF#000000##FFFFFF
##8D4FAC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#8A5E76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4fac;
/* rgb */ color: rgb(141, 79, 172);
/* oklch */ color: oklch(54.0% 0.152 313.2);
Tailwind
colors: {
  custom: {
    50: '#b183c5',
    500: '#8d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fac;
$custom-light: #b183c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fac",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 280,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.15174,
    "h": 313.2
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#8D4FAC
secondary
#A4C196
accent
#CD5B81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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