#8D2EA1#8D2EA1

#8D2EA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.189 H 320.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA1
RGBrgb(141, 46, 161)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 71%, 63%)
CMYKcmyk(12.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(38.18, 55.66, -43.21)
CIE-LCHlch(38.18, 70.46, 322.18°)
OKLaboklab(49.15% 0.1446 -0.121)
OKLCHoklch(49.15% 0.189 320.1)
XYZxyz(18.3937, 10.1908, 34.7095)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA1 #42A12E
analogous
#532EA1 #8D2EA1 #A12E7B
triadic
#8D2EA1 #A18D2E #2EA18D
tetradic
#8D2EA1 #A1532E #42A12E #2E7BA1
square
#8D2EA1 #A1532E #42A12E #2E7BA1
split-complementary
#8D2EA1 #7BA12E #2EA153
monochromatic
#3A1342 #632071 #8D2EA1 #B243C9 #C573D7

Accessibility & contrast

On white

6.91
#8D2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA1#FFFFFF#000000##FFFFFF
##8D2EA11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#385D9E
Tritanopia (blue-blind)
#8E4464
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ea1;
/* rgb */ color: rgb(141, 46, 161);
/* oklch */ color: oklch(49.1% 0.189 320.1);
Tailwind
colors: {
  custom: {
    50: '#b270bd',
    500: '#8d2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea1;
$custom-light: #b270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea1",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 289.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.18857,
    "h": 320.1
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#8D2EA1
secondary
#7BBE6C
accent
#DF4963
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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