#8D2ABB#8D2ABB

#8D2ABB is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.216 H 312.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8D2ABB
RGBrgb(141, 42, 187)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 78%, 73%)
CMYKcmyk(24.6%, 77.5%, 0%, 26.7%)
CIE-LABlab(39.42, 62.32, -56.67)
CIE-LCHlch(39.42, 84.23, 317.72°)
OKLaboklab(50.58% 0.1451 -0.1604)
OKLCHoklch(50.58% 0.216 312.1)
XYZxyz(20.7805, 10.9071, 48.0147)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2ABB #58BB2A
analogous
#452ABB #8D2ABB #BB2AA0
triadic
#8D2ABB #BB8D2A #2ABB8D
tetradic
#8D2ABB #BB452A #58BB2A #2AA0BB
square
#8D2ABB #BB452A #58BB2A #2AA0BB
split-complementary
#8D2ABB #A0BB2A #2ABB45
monochromatic
#421457 #671F89 #8D2ABB #AB4CD7 #C27DE2

Accessibility & contrast

On white

6.60
#8D2ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D2ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2ABB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2ABB#FFFFFF#000000##FFFFFF
##8D2ABB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#874D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2abb;
/* rgb */ color: rgb(141, 42, 187);
/* oklch */ color: oklch(50.6% 0.216 312.1);
Tailwind
colors: {
  custom: {
    50: '#b36fd0',
    500: '#8d2abb',
    950: '#000000',
  },
}
SCSS
$custom: #8d2abb;
$custom-light: #b36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2abb",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 280.966,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.2163,
    "h": 312.1
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#8D2ABB
secondary
#91CA76
accent
#E64176
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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