#8D2FAC#8D2FAC

#8D2FAC is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 316.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D2FAC
RGBrgb(141, 47, 172)
HSLhsl(285, 57%, 43%)
HSVhsv(285, 73%, 67%)
CMYKcmyk(18%, 72.7%, 0%, 32.5%)
CIE-LABlab(39.03, 57.44, -48.43)
CIE-LCHlch(39.03, 75.13, 319.86°)
OKLaboklab(49.97% 0.1427 -0.1363)
OKLCHoklch(49.97% 0.197 316.3)
XYZxyz(19.4463, 10.6751, 40.0579)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FAC #4EAC2F
analogous
#4E2FAC #8D2FAC #AC2F8C
triadic
#8D2FAC #AC8D2F #2FAC8D
tetradic
#8D2FAC #AC4E2F #4EAC2F #2F8CAC
square
#8D2FAC #AC4E2F #4EAC2F #2F8CAC
split-complementary
#8D2FAC #8CAC2F #2FAC4E
monochromatic
#3E154C #66227C #8D2FAC #AD4BCE #C37BDB

Accessibility & contrast

On white

6.70
#8D2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FAC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FAC#FFFFFF#000000##FFFFFF
##8D2FAC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#8B496B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2fac;
/* rgb */ color: rgb(141, 47, 172);
/* oklch */ color: oklch(50.0% 0.197 316.3);
Tailwind
colors: {
  custom: {
    50: '#b271c5',
    500: '#8d2fac',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fac;
$custom-light: #b271c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fac",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 285.12,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.19734,
    "h": 316.3
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#8D2FAC
secondary
#87C374
accent
#E0476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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