#8D2EA4#8D2EA4

#8D2EA4 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.191 H 319.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA4
RGBrgb(141, 46, 164)
HSLhsl(288, 56%, 41%)
HSVhsv(288, 72%, 64%)
CMYKcmyk(14%, 72%, 0%, 35.7%)
CIE-LABlab(38.37, 56.25, -44.70)
CIE-LCHlch(38.37, 71.85, 321.52°)
OKLaboklab(49.34% 0.1444 -0.1254)
OKLCHoklch(49.34% 0.191 319)
XYZxyz(18.6615, 10.2979, 36.1195)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA4 #45A42E
analogous
#522EA4 #8D2EA4 #A42E80
triadic
#8D2EA4 #A48D2E #2EA48D
tetradic
#8D2EA4 #A4522E #45A42E #2E80A4
square
#8D2EA4 #A4522E #45A42E #2E80A4
split-complementary
#8D2EA4 #80A42E #2EA452
monochromatic
#3B1344 #642174 #8D2EA4 #B145CB #C574D8

Accessibility & contrast

On white

6.86
#8D2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA4#FFFFFF#000000##FFFFFF
##8D2EA41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#365DA1
Tritanopia (blue-blind)
#8D4566
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ea4;
/* rgb */ color: rgb(141, 46, 164);
/* oklch */ color: oklch(49.3% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#b270c0',
    500: '#8d2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea4;
$custom-light: #b270c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea4",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 288.305,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.19125,
    "h": 319
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#8D2EA4
secondary
#7EC06E
accent
#DF4866
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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