#8D2FA1#8D2FA1

#8D2FA1 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.187 H 320.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA1
RGBrgb(141, 47, 161)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 63%)
CMYKcmyk(12.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(38.32, 55.27, -42.98)
CIE-LCHlch(38.32, 70.01, 322.13°)
OKLaboklab(49.25% 0.1436 -0.1203)
OKLCHoklch(49.25% 0.187 320)
XYZxyz(18.4332, 10.2699, 34.7226)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA1 #43A12F
analogous
#542FA1 #8D2FA1 #A12F7C
triadic
#8D2FA1 #A18D2F #2FA18D
tetradic
#8D2FA1 #A1542F #43A12F #2F7CA1
square
#8D2FA1 #A1542F #43A12F #2F7CA1
split-complementary
#8D2FA1 #7CA12F #2FA154
monochromatic
#3A1342 #642172 #8D2FA1 #B145C9 #C574D6

Accessibility & contrast

On white

6.88
#8D2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA1#FFFFFF#000000##FFFFFF
##8D2FA11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#8E4465
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2fa1;
/* rgb */ color: rgb(141, 47, 161);
/* oklch */ color: oklch(49.2% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#b270bd',
    500: '#8d2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa1;
$custom-light: #b270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa1",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 289.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.18734,
    "h": 320
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#8D2FA1
secondary
#7CBE6E
accent
#DE4A64
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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