#8D2BA6#8D2BA6

#8D2BA6 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.197 H 318.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D2BA6
RGBrgb(141, 43, 166)
HSLhsl(288, 59%, 41%)
HSVhsv(288, 74%, 65%)
CMYKcmyk(15.1%, 74.1%, 0%, 34.9%)
CIE-LABlab(38.10, 57.77, -46.34)
CIE-LCHlch(38.10, 74.06, 321.27°)
OKLaboklab(49.19% 0.1473 -0.1301)
OKLCHoklch(49.19% 0.197 318.5)
XYZxyz(18.7304, 10.1445, 37.0405)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2BA6 #44A62B
analogous
#4F2BA6 #8D2BA6 #A62B81
triadic
#8D2BA6 #A68D2B #2BA68D
tetradic
#8D2BA6 #A64F2B #44A62B #2B81A6
square
#8D2BA6 #A64F2B #44A62B #2B81A6
split-complementary
#8D2BA6 #81A62B #2BA64F
monochromatic
#3A1245 #641E75 #8D2BA6 #B141CE #C571DA

Accessibility & contrast

On white

6.93
#8D2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2BA6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2BA6#FFFFFF#000000##FFFFFF
##8D2BA61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#8D4466
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ba6;
/* rgb */ color: rgb(141, 43, 166);
/* oklch */ color: oklch(49.2% 0.197 318.5);
Tailwind
colors: {
  custom: {
    50: '#b26ec1',
    500: '#8d2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ba6;
$custom-light: #b26ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ba6",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 287.805,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.19651,
    "h": 318.5
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#8D2BA6
secondary
#7DC16B
accent
#E24666
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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