#8D2AA2#8D2AA2

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

Color values

HEX#8D2AA2
RGBrgb(141, 42, 162)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(13%, 74.1%, 0%, 36.5%)
CIE-LABlab(37.71, 57.37, -44.56)
CIE-LCHlch(37.71, 72.64, 322.16°)
OKLaboklab(48.83% 0.1486 -0.1249)
OKLCHoklch(48.83% 0.194 319.9)
XYZxyz(18.3332, 9.9282, 35.1261)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA2 #3FA22A
analogous
#512AA2 #8D2AA2 #A22A7B
triadic
#8D2AA2 #A28D2A #2AA28D
tetradic
#8D2AA2 #A2512A #3FA22A #2A7BA2
square
#8D2AA2 #A2512A #3FA22A #2A7BA2
split-complementary
#8D2AA2 #7BA22A #2AA251
monochromatic
#381141 #631D71 #8D2AA2 #B33DCD #C66DD9

Accessibility & contrast

On white

7.03
#8D2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2AA2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA2#FFFFFF#000000##FFFFFF
##8D2AA21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#8D4264
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2aa2;
/* rgb */ color: rgb(141, 42, 162);
/* oklch */ color: oklch(48.8% 0.194 319.9);
Tailwind
colors: {
  custom: {
    50: '#b26ebe',
    500: '#8d2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa2;
$custom-light: #b26ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa2",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 289.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.19412,
    "h": 319.9
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#8D2AA2
secondary
#77C068
accent
#E24661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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