#8D2BAA#8D2BAA

#8D2BAA is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 317.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8D2BAA
RGBrgb(141, 43, 170)
HSLhsl(286, 60%, 42%)
HSVhsv(286, 75%, 67%)
CMYKcmyk(17.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(38.36, 58.55, -48.31)
CIE-LCHlch(38.36, 75.91, 320.48°)
OKLaboklab(49.46% 0.1468 -0.1359)
OKLCHoklch(49.46% 0.2 317.2)
XYZxyz(19.1030, 10.2936, 39.0030)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BAA #48AA2B
analogous
#4E2BAA #8D2BAA #AA2B88
triadic
#8D2BAA #AA8D2B #2BAA8D
tetradic
#8D2BAA #AA4E2B #48AA2B #2B88AA
square
#8D2BAA #AA4E2B #48AA2B #2B88AA
split-complementary
#8D2BAA #88AA2B #2BAA4E
monochromatic
#3C1248 #641F79 #8D2BAA #AF43CF #C474DC

Accessibility & contrast

On white

6.87
#8D2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2BAA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BAA#FFFFFF#000000##FFFFFF
##8D2BAA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2baa;
/* rgb */ color: rgb(141, 43, 170);
/* oklch */ color: oklch(49.5% 0.200 317.2);
Tailwind
colors: {
  custom: {
    50: '#b26fc4',
    500: '#8d2baa',
    950: '#000000',
  },
}
SCSS
$custom: #8d2baa;
$custom-light: #b26fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2baa",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 286.299,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4946,
    "c": 0.20006,
    "h": 317.2
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#8D2BAA
secondary
#81C36E
accent
#E34569
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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