#8D2DB1#8D2DB1

#8D2DB1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.204 H 314.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D2DB1
RGBrgb(141, 45, 177)
HSLhsl(284, 59%, 44%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(20.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(39.10, 59.21, -51.30)
CIE-LCHlch(39.10, 78.34, 319.09°)
OKLaboklab(50.13% 0.144 -0.1447)
OKLCHoklch(50.13% 0.204 314.9)
XYZxyz(19.8574, 10.7145, 42.6085)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB1 #51B12D
analogous
#4B2DB1 #8D2DB1 #B12D93
triadic
#8D2DB1 #B18D2D #2DB18D
tetradic
#8D2DB1 #B14B2D #51B12D #2D93B1
square
#8D2DB1 #B14B2D #51B12D #2D93B1
split-complementary
#8D2DB1 #93B12D #2DB14B
monochromatic
#3F144F #662180 #8D2DB1 #AC4AD1 #C37BDD

Accessibility & contrast

On white

6.68
#8D2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DB1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DB1#FFFFFF#000000##FFFFFF
##8D2DB11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#275EAE
Tritanopia (blue-blind)
#8A4A6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2db1;
/* rgb */ color: rgb(141, 45, 177);
/* oklch */ color: oklch(50.1% 0.204 314.9);
Tailwind
colors: {
  custom: {
    50: '#b270c9',
    500: '#8d2db1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db1;
$custom-light: #b270c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db1",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 283.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.20416,
    "h": 314.9
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#8D2DB1
secondary
#8AC674
accent
#E34570
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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