#8D2AB9#8D2AB9

#8D2AB9 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.215 H 312.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB9
RGBrgb(141, 42, 185)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(23.8%, 77.3%, 0%, 27.5%)
CIE-LABlab(39.28, 61.91, -55.73)
CIE-LCHlch(39.28, 83.30, 318.01°)
OKLaboklab(50.44% 0.1454 -0.1577)
OKLCHoklch(50.44% 0.215 312.7)
XYZxyz(20.5678, 10.8220, 46.8949)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB9 #56B92A
analogous
#452AB9 #8D2AB9 #B92A9E
triadic
#8D2AB9 #B98D2A #2AB98D
tetradic
#8D2AB9 #B9452A #56B92A #2A9EB9
square
#8D2AB9 #B9452A #56B92A #2A9EB9
split-complementary
#8D2AB9 #9EB92A #2AB945
monochromatic
#411355 #671F87 #8D2AB9 #AB4AD6 #C27CE1

Accessibility & contrast

On white

6.64
#8D2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D2AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB9#FFFFFF#000000##FFFFFF
##8D2AB91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#145EB6
Tritanopia (blue-blind)
#884C71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2ab9;
/* rgb */ color: rgb(141, 42, 185);
/* oklch */ color: oklch(50.4% 0.215 312.7);
Tailwind
colors: {
  custom: {
    50: '#b36fcf',
    500: '#8d2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab9;
$custom-light: #b36fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab9",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 281.538,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.21451,
    "h": 312.7
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#8D2AB9
secondary
#8FCA75
accent
#E64274
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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