#8D2ABA#8D2ABA

#8D2ABA is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.215 H 312.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D2ABA
RGBrgb(141, 42, 186)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 77%, 73%)
CMYKcmyk(24.2%, 77.4%, 0%, 27.1%)
CIE-LABlab(39.35, 62.12, -56.20)
CIE-LCHlch(39.35, 83.77, 317.86°)
OKLaboklab(50.51% 0.1453 -0.1591)
OKLCHoklch(50.51% 0.215 312.4)
XYZxyz(20.6738, 10.8644, 47.4529)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2ABA #57BA2A
analogous
#452ABA #8D2ABA #BA2A9F
triadic
#8D2ABA #BA8D2A #2ABA8D
tetradic
#8D2ABA #BA452A #57BA2A #2A9FBA
square
#8D2ABA #BA452A #57BA2A #2A9FBA
split-complementary
#8D2ABA #9FBA2A #2ABA45
monochromatic
#411356 #671F88 #8D2ABA #AB4BD6 #C27DE2

Accessibility & contrast

On white

6.62
#8D2ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D2ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2ABA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2ABA#FFFFFF#000000##FFFFFF
##8D2ABA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#125FB7
Tritanopia (blue-blind)
#884C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2aba;
/* rgb */ color: rgb(141, 42, 186);
/* oklch */ color: oklch(50.5% 0.215 312.4);
Tailwind
colors: {
  custom: {
    50: '#b36fd0',
    500: '#8d2aba',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aba;
$custom-light: #b36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aba",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 281.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.21541,
    "h": 312.4
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#8D2ABA
secondary
#90CA76
accent
#E64275
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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