#8D2DA1#8D2DA1

#8D2DA1 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.190 H 320.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8D2DA1
RGBrgb(141, 45, 161)
HSLhsl(290, 56%, 40%)
HSVhsv(290, 72%, 63%)
CMYKcmyk(12.4%, 72%, 0%, 36.9%)
CIE-LABlab(38.05, 56.05, -43.42)
CIE-LCHlch(38.05, 70.91, 322.23°)
OKLaboklab(49.05% 0.1457 -0.1216)
OKLCHoklch(49.05% 0.19 320.1)
XYZxyz(18.3551, 10.1136, 34.6966)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DA1 #41A12D
analogous
#532DA1 #8D2DA1 #A12D7B
triadic
#8D2DA1 #A18D2D #2DA18D
tetradic
#8D2DA1 #A1532D #41A12D #2D7BA1
square
#8D2DA1 #A1532D #41A12D #2D7BA1
split-complementary
#8D2DA1 #7BA12D #2DA153
monochromatic
#391241 #632071 #8D2DA1 #B241CA #C671D7

Accessibility & contrast

On white

6.95
#8D2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DA1
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DA1#FFFFFF#000000##FFFFFF
##8D2DA11.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2da1;
/* rgb */ color: rgb(141, 45, 161);
/* oklch */ color: oklch(49.0% 0.190 320.1);
Tailwind
colors: {
  custom: {
    50: '#b26fbd',
    500: '#8d2da1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2da1;
$custom-light: #b26fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2da1",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 289.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.18976,
    "h": 320.1
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#8D2DA1
secondary
#79BF6B
accent
#E04862
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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