#8D2FA8#8D2FA8

#8D2FA8 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.194 H 317.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA8
RGBrgb(141, 47, 168)
HSLhsl(287, 56%, 42%)
HSVhsv(287, 72%, 66%)
CMYKcmyk(16.1%, 72%, 0%, 34.1%)
CIE-LABlab(38.77, 56.64, -46.47)
CIE-LCHlch(38.77, 73.26, 320.63°)
OKLaboklab(49.7% 0.1431 -0.1305)
OKLCHoklch(49.7% 0.194 317.6)
XYZxyz(19.0679, 10.5237, 38.0651)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA8 #4AA82F
analogous
#512FA8 #8D2FA8 #A82F86
triadic
#8D2FA8 #A88D2F #2FA88D
tetradic
#8D2FA8 #A8512F #4AA82F #2F86A8
square
#8D2FA8 #A8512F #4AA82F #2F86A8
split-complementary
#8D2FA8 #86A82F #2FA851
monochromatic
#3D1448 #652278 #8D2FA8 #AF48CC #C478D9

Accessibility & contrast

On white

6.76
#8D2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D2FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA8#FFFFFF#000000##FFFFFF
##8D2FA81.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#8C4769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2fa8;
/* rgb */ color: rgb(141, 47, 168);
/* oklch */ color: oklch(49.7% 0.194 317.6);
Tailwind
colors: {
  custom: {
    50: '#b270c2',
    500: '#8d2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa8;
$custom-light: #b270c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa8",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 286.612,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.19368,
    "h": 317.6
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#8D2FA8
secondary
#83C171
accent
#E0486A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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