#8D2FA3#8D2FA3

#8D2FA3 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.189 H 319.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA3
RGBrgb(141, 47, 163)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 64%)
CMYKcmyk(13.5%, 71.2%, 0%, 36.1%)
CIE-LABlab(38.45, 55.66, -43.98)
CIE-LCHlch(38.45, 70.94, 321.68°)
OKLaboklab(49.38% 0.1435 -0.1233)
OKLCHoklch(49.38% 0.189 319.3)
XYZxyz(18.6110, 10.3410, 35.6589)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA3 #45A32F
analogous
#532FA3 #8D2FA3 #A32F7F
triadic
#8D2FA3 #A38D2F #2FA38D
tetradic
#8D2FA3 #A3532F #45A32F #2F7FA3
square
#8D2FA3 #A3532F #45A32F #2F7FA3
split-complementary
#8D2FA3 #7FA32F #2FA353
monochromatic
#3B1444 #642173 #8D2FA3 #B146CA #C575D7

Accessibility & contrast

On white

6.84
#8D2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA3#FFFFFF#000000##FFFFFF
##8D2FA31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#375EA0
Tritanopia (blue-blind)
#8D4566
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2fa3;
/* rgb */ color: rgb(141, 47, 163);
/* oklch */ color: oklch(49.4% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#b270bf',
    500: '#8d2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa3;
$custom-light: #b270bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa3",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 288.621,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.18915,
    "h": 319.3
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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