#8D2FA4#8D2FA4

#8D2FA4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.190 H 319.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA4
RGBrgb(141, 47, 164)
HSLhsl(288, 55%, 41%)
HSVhsv(288, 71%, 64%)
CMYKcmyk(14%, 71.3%, 0%, 35.7%)
CIE-LABlab(38.51, 55.85, -44.48)
CIE-LCHlch(38.51, 71.40, 321.47°)
OKLaboklab(49.44% 0.1434 -0.1247)
OKLCHoklch(49.44% 0.19 319)
XYZxyz(18.7010, 10.3770, 36.1327)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA4 #46A42F
analogous
#532FA4 #8D2FA4 #A42F81
triadic
#8D2FA4 #A48D2F #2FA48D
tetradic
#8D2FA4 #A4532F #46A42F #2F81A4
square
#8D2FA4 #A4532F #46A42F #2F81A4
split-complementary
#8D2FA4 #81A42F #2FA453
monochromatic
#3B1445 #642174 #8D2FA4 #B046CA #C476D8

Accessibility & contrast

On white

6.83
#8D2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA4#FFFFFF#000000##FFFFFF
##8D2FA41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#8D4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2fa4;
/* rgb */ color: rgb(141, 47, 164);
/* oklch */ color: oklch(49.4% 0.190 319.0);
Tailwind
colors: {
  custom: {
    50: '#b270bf',
    500: '#8d2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa4;
$custom-light: #b270bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa4",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 288.205,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.19005,
    "h": 319
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#8D2FA4
secondary
#7FC06F
accent
#DF4966
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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