#8D2BA7#8D2BA7

#8D2BA7 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.197 H 318.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D2BA7
RGBrgb(141, 43, 167)
HSLhsl(287, 59%, 41%)
HSVhsv(287, 74%, 65%)
CMYKcmyk(15.6%, 74.3%, 0%, 34.5%)
CIE-LABlab(38.17, 57.97, -46.83)
CIE-LCHlch(38.17, 74.52, 321.06°)
OKLaboklab(49.26% 0.1472 -0.1316)
OKLCHoklch(49.26% 0.197 318.2)
XYZxyz(18.8225, 10.1814, 37.5255)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BA7 #45A72B
analogous
#4F2BA7 #8D2BA7 #A72B83
triadic
#8D2BA7 #A78D2B #2BA78D
tetradic
#8D2BA7 #A74F2B #45A72B #2B83A7
square
#8D2BA7 #A74F2B #45A72B #2B83A7
split-complementary
#8D2BA7 #83A72B #2BA74F
monochromatic
#3B1246 #641E76 #8D2BA7 #B141CE #C572DB

Accessibility & contrast

On white

6.92
#8D2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2BA7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BA7#FFFFFF#000000##FFFFFF
##8D2BA71.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#8C4467
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ba7;
/* rgb */ color: rgb(141, 43, 167);
/* oklch */ color: oklch(49.3% 0.197 318.2);
Tailwind
colors: {
  custom: {
    50: '#b26fc2',
    500: '#8d2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ba7;
$custom-light: #b26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ba7",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 287.419,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.1974,
    "h": 318.2
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#8D2BA7
secondary
#7EC26C
accent
#E24666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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