#8D2DB9#8D2DB9

#8D2DB9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.211 H 312.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8D2DB9
RGBrgb(141, 45, 185)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 73%)
CMYKcmyk(23.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(39.65, 60.84, -55.12)
CIE-LCHlch(39.65, 82.10, 317.82°)
OKLaboklab(50.7% 0.1428 -0.1559)
OKLCHoklch(50.7% 0.211 312.5)
XYZxyz(20.6783, 11.0429, 46.9317)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB9 #59B92D
analogous
#472DB9 #8D2DB9 #B92D9F
triadic
#8D2DB9 #B98D2D #2DB98D
tetradic
#8D2DB9 #B9472D #59B92D #2D9FB9
square
#8D2DB9 #B9472D #59B92D #2D9FB9
split-complementary
#8D2DB9 #9FB92D #2DB947
monochromatic
#421557 #672188 #8D2DB9 #AA4FD4 #C280E0

Accessibility & contrast

On white

6.55
#8D2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D2DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DB9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DB9#FFFFFF#000000##FFFFFF
##8D2DB91.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#195FB6
Tritanopia (blue-blind)
#884D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2db9;
/* rgb */ color: rgb(141, 45, 185);
/* oklch */ color: oklch(50.7% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#b370cf',
    500: '#8d2db9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db9;
$custom-light: #b370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db9",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 281.143,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.21144,
    "h": 312.5
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#8D2DB9
secondary
#92C979
accent
#E44476
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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