#8D2FA9#8D2FA9

#8D2FA9 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.195 H 317.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA9
RGBrgb(141, 47, 169)
HSLhsl(286, 56%, 42%)
HSVhsv(286, 72%, 66%)
CMYKcmyk(16.6%, 72.2%, 0%, 33.7%)
CIE-LABlab(38.83, 56.84, -46.96)
CIE-LCHlch(38.83, 73.73, 320.44°)
OKLaboklab(49.77% 0.143 -0.132)
OKLCHoklch(49.77% 0.195 317.3)
XYZxyz(19.1614, 10.5611, 38.5576)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA9 #4BA92F
analogous
#502FA9 #8D2FA9 #A92F88
triadic
#8D2FA9 #A98D2F #2FA98D
tetradic
#8D2FA9 #A9502F #4BA92F #2F88A9
square
#8D2FA9 #A9502F #4BA92F #2F88A9
split-complementary
#8D2FA9 #88A92F #2FA950
monochromatic
#3D1449 #652279 #8D2FA9 #AE49CC #C379DA

Accessibility & contrast

On white

6.75
#8D2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA9#FFFFFF#000000##FFFFFF
##8D2FA91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#8C4869
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2fa9;
/* rgb */ color: rgb(141, 47, 169);
/* oklch */ color: oklch(49.8% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#b270c3',
    500: '#8d2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa9;
$custom-light: #b270c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa9",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 286.23,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.1946,
    "h": 317.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#8D2FA9
secondary
#84C272
accent
#E0486B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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