#8D2AAA#8D2AAA

#8D2AAA is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.201 H 317.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D2AAA
RGBrgb(141, 42, 170)
HSLhsl(286, 60%, 42%)
HSVhsv(286, 75%, 67%)
CMYKcmyk(17.1%, 75.3%, 0%, 33.3%)
CIE-LABlab(38.24, 58.91, -48.51)
CIE-LCHlch(38.24, 76.32, 320.53°)
OKLaboklab(49.37% 0.1478 -0.1365)
OKLCHoklch(49.37% 0.201 317.3)
XYZxyz(19.0671, 10.2218, 38.9911)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AAA #47AA2A
analogous
#4D2AAA #8D2AAA #AA2A87
triadic
#8D2AAA #AA8D2A #2AAA8D
tetradic
#8D2AAA #AA4D2A #47AA2A #2A87AA
square
#8D2AAA #AA4D2A #47AA2A #2A87AA
split-complementary
#8D2AAA #87AA2A #2AAA4D
monochromatic
#3C1248 #641E79 #8D2AAA #B041D0 #C472DC

Accessibility & contrast

On white

6.90
#8D2AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2AAA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AAA#FFFFFF#000000##FFFFFF
##8D2AAA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#8C4568
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2aaa;
/* rgb */ color: rgb(141, 42, 170);
/* oklch */ color: oklch(49.4% 0.201 317.3);
Tailwind
colors: {
  custom: {
    50: '#b26ec4',
    500: '#8d2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aaa;
$custom-light: #b26ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aaa",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 286.406,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.20115,
    "h": 317.3
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#8D2AAA
secondary
#80C36C
accent
#E44468
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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