#8D2AA1#8D2AA1

#8D2AA1 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 320.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D2AA1
RGBrgb(141, 42, 161)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 63%)
CMYKcmyk(12.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(37.65, 57.18, -44.06)
CIE-LCHlch(37.65, 72.19, 322.38°)
OKLaboklab(48.77% 0.1487 -0.1234)
OKLCHoklch(48.77% 0.193 320.3)
XYZxyz(18.2447, 9.8928, 34.6598)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA1 #3EA12A
analogous
#522AA1 #8D2AA1 #A12A7A
triadic
#8D2AA1 #A18D2A #2AA18D
tetradic
#8D2AA1 #A1522A #3EA12A #2A7AA1
square
#8D2AA1 #A1522A #3EA12A #2A7AA1
split-complementary
#8D2AA1 #7AA12A #2AA152
monochromatic
#381140 #621D70 #8D2AA1 #B43CCC #C76DD9

Accessibility & contrast

On white

7.05
#8D2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2AA1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA1#FFFFFF#000000##FFFFFF
##8D2AA11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#365C9E
Tritanopia (blue-blind)
#8E4163
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2aa1;
/* rgb */ color: rgb(141, 42, 161);
/* oklch */ color: oklch(48.8% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#b26ebd',
    500: '#8d2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa1;
$custom-light: #b26ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa1",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 289.916,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.19324,
    "h": 320.3
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#8D2AA1
secondary
#76C067
accent
#E24660
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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