#8D2DB8#8D2DB8

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

Color values

HEX#8D2DB8
RGBrgb(141, 45, 184)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 72%)
CMYKcmyk(23.4%, 75.5%, 0%, 27.8%)
CIE-LABlab(39.58, 60.63, -54.65)
CIE-LCHlch(39.58, 81.63, 317.97°)
OKLaboklab(50.63% 0.143 -0.1545)
OKLCHoklch(50.63% 0.211 312.8)
XYZxyz(20.5731, 11.0008, 46.3777)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB8 #58B82D
analogous
#482DB8 #8D2DB8 #B82D9E
triadic
#8D2DB8 #B88D2D #2DB88D
tetradic
#8D2DB8 #B8482D #58B82D #2D9EB8
square
#8D2DB8 #B8482D #58B82D #2D9EB8
split-complementary
#8D2DB8 #9EB82D #2DB848
monochromatic
#421556 #672187 #8D2DB8 #AB4ED4 #C280E0

Accessibility & contrast

On white

6.56
#8D2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D2DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DB8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DB8#FFFFFF#000000##FFFFFF
##8D2DB81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#1B5FB5
Tritanopia (blue-blind)
#884D71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2db8;
/* rgb */ color: rgb(141, 45, 184);
/* oklch */ color: oklch(50.6% 0.211 312.8);
Tailwind
colors: {
  custom: {
    50: '#b370ce',
    500: '#8d2db8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db8;
$custom-light: #b370ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db8",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 281.439,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.21053,
    "h": 312.8
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#8D2DB8
secondary
#91C978
accent
#E44475
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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