#8D2AA8#8D2AA8

#8D2AA8 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 317.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D2AA8
RGBrgb(141, 42, 168)
HSLhsl(287, 60%, 41%)
HSVhsv(287, 75%, 66%)
CMYKcmyk(16.1%, 75%, 0%, 34.1%)
CIE-LABlab(38.10, 58.52, -47.53)
CIE-LCHlch(38.10, 75.39, 320.92°)
OKLaboklab(49.23% 0.148 -0.1336)
OKLCHoklch(49.23% 0.199 317.9)
XYZxyz(18.8794, 10.1467, 38.0022)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA8 #45A82A
analogous
#4E2AA8 #8D2AA8 #A82A84
triadic
#8D2AA8 #A88D2A #2AA88D
tetradic
#8D2AA8 #A84E2A #45A82A #2A84A8
square
#8D2AA8 #A84E2A #45A82A #2A84A8
split-complementary
#8D2AA8 #84A82A #2AA84E
monochromatic
#3B1246 #641E77 #8D2AA8 #B140CF #C571DB

Accessibility & contrast

On white

6.93
#8D2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D2AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AA8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA8#FFFFFF#000000##FFFFFF
##8D2AA81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#2F5DA5
Tritanopia (blue-blind)
#8C4467
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2aa8;
/* rgb */ color: rgb(141, 42, 168);
/* oklch */ color: oklch(49.2% 0.199 317.9);
Tailwind
colors: {
  custom: {
    50: '#b26ec2',
    500: '#8d2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa8;
$custom-light: #b26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa8",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 287.143,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.19939,
    "h": 317.9
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#8D2AA8
secondary
#7EC36B
accent
#E34567
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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