#8D2EAA#8D2EAA

#8D2EAA is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.197 H 317.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D2EAA
RGBrgb(141, 46, 170)
HSLhsl(286, 57%, 42%)
HSVhsv(286, 73%, 67%)
CMYKcmyk(17.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(38.76, 57.42, -47.67)
CIE-LCHlch(38.76, 74.63, 320.30°)
OKLaboklab(49.74% 0.1439 -0.1341)
OKLCHoklch(49.74% 0.197 317)
XYZxyz(19.2161, 10.5198, 39.0407)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EAA #4BAA2E
analogous
#4F2EAA #8D2EAA #AA2E89
triadic
#8D2EAA #AA8D2E #2EAA8D
tetradic
#8D2EAA #AA4F2E #4BAA2E #2E89AA
square
#8D2EAA #AA4F2E #4BAA2E #2E89AA
split-complementary
#8D2EAA #89AA2E #2EAA4F
monochromatic
#3D144A #65217A #8D2EAA #AE48CD #C378DA

Accessibility & contrast

On white

6.77
#8D2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EAA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EAA#FFFFFF#000000##FFFFFF
##8D2EAA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#8C4769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2eaa;
/* rgb */ color: rgb(141, 46, 170);
/* oklch */ color: oklch(49.7% 0.197 317.0);
Tailwind
colors: {
  custom: {
    50: '#b270c4',
    500: '#8d2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eaa;
$custom-light: #b270c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eaa",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 285.968,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49741,
    "c": 0.19668,
    "h": 317
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#8D2EAA
secondary
#84C371
accent
#E1476B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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