#8D2EAC#8D2EAC

#8D2EAC is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 316.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8D2EAC
RGBrgb(141, 46, 172)
HSLhsl(285, 58%, 43%)
HSVhsv(285, 73%, 67%)
CMYKcmyk(18%, 73.3%, 0%, 32.5%)
CIE-LABlab(38.89, 57.82, -48.65)
CIE-LCHlch(38.89, 75.57, 319.92°)
OKLaboklab(49.88% 0.1437 -0.1369)
OKLCHoklch(49.88% 0.198 316.4)
XYZxyz(19.4068, 10.5960, 40.0447)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EAC #4DAC2E
analogous
#4E2EAC #8D2EAC #AC2E8C
triadic
#8D2EAC #AC8D2E #2EAC8D
tetradic
#8D2EAC #AC4E2E #4DAC2E #2E8CAC
square
#8D2EAC #AC4E2E #4DAC2E #2E8CAC
split-complementary
#8D2EAC #8CAC2E #2EAC4E
monochromatic
#3E144B #65217C #8D2EAC #AD49CE #C379DB

Accessibility & contrast

On white

6.73
#8D2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EAC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EAC#FFFFFF#000000##FFFFFF
##8D2EAC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#8B486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2eac;
/* rgb */ color: rgb(141, 46, 172);
/* oklch */ color: oklch(49.9% 0.198 316.4);
Tailwind
colors: {
  custom: {
    50: '#b270c5',
    500: '#8d2eac',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eac;
$custom-light: #b270c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eac",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 285.238,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.19849,
    "h": 316.4
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#8D2EAC
secondary
#86C372
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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