#8D2AB7#8D2AB7

#8D2AB7 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.213 H 313.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB7
RGBrgb(141, 42, 183)
HSLhsl(282, 63%, 44%)
HSVhsv(282, 77%, 72%)
CMYKcmyk(23%, 77%, 0%, 28.2%)
CIE-LABlab(39.14, 61.51, -54.78)
CIE-LCHlch(39.14, 82.36, 318.31°)
OKLaboklab(50.29% 0.1458 -0.1549)
OKLCHoklch(50.29% 0.213 313.3)
XYZxyz(20.3582, 10.7382, 45.7908)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB7 #54B72A
analogous
#472AB7 #8D2AB7 #B72A9B
triadic
#8D2AB7 #B78D2A #2AB78D
tetradic
#8D2AB7 #B7472A #54B72A #2A9BB7
square
#8D2AB7 #B7472A #54B72A #2A9BB7
split-complementary
#8D2AB7 #9BB72A #2AB747
monochromatic
#401353 #671F85 #8D2AB7 #AB49D5 #C27BE1

Accessibility & contrast

On white

6.67
#8D2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB7#FFFFFF#000000##FFFFFF
##8D2AB71.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#195EB4
Tritanopia (blue-blind)
#884B70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2ab7;
/* rgb */ color: rgb(141, 42, 183);
/* oklch */ color: oklch(50.3% 0.213 313.3);
Tailwind
colors: {
  custom: {
    50: '#b36fcd',
    500: '#8d2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab7;
$custom-light: #b36fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab7",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 282.128,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5029,
    "c": 0.21272,
    "h": 313.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#8D2AB7
secondary
#8DC974
accent
#E64273
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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