#8D2FAA#8D2FAA

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

Color values

HEX#8D2FAA
RGBrgb(141, 47, 170)
HSLhsl(286, 57%, 43%)
HSVhsv(286, 72%, 67%)
CMYKcmyk(17.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(38.90, 57.04, -47.45)
CIE-LCHlch(38.90, 74.19, 320.24°)
OKLaboklab(49.84% 0.1429 -0.1334)
OKLCHoklch(49.84% 0.196 317)
XYZxyz(19.2556, 10.5988, 39.0539)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FAA #4CAA2F
analogous
#502FAA #8D2FAA #AA2F89
triadic
#8D2FAA #AA8D2F #2FAA8D
tetradic
#8D2FAA #AA502F #4CAA2F #2F89AA
square
#8D2FAA #AA502F #4CAA2F #2F89AA
split-complementary
#8D2FAA #89AA2F #2FAA50
monochromatic
#3D144A #65227A #8D2FAA #AE49CD #C379DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2FAA#FFFFFF#000000##FFFFFF
##8D2FAA1.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)
#0056AD
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#8C486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2faa;
/* rgb */ color: rgb(141, 47, 170);
/* oklch */ color: oklch(49.8% 0.196 317.0);
Tailwind
colors: {
  custom: {
    50: '#b271c4',
    500: '#8d2faa',
    950: '#000000',
  },
}
SCSS
$custom: #8d2faa;
$custom-light: #b271c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2faa",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 285.854,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49838,
    "c": 0.19551,
    "h": 317
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#8D2FAA
secondary
#85C272
accent
#E0486C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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