#8D2DB6#8D2DB6

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

Color values

HEX#8D2DB6
RGBrgb(141, 45, 182)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 71%)
CMYKcmyk(22.5%, 75.3%, 0%, 28.6%)
CIE-LABlab(39.44, 60.22, -53.70)
CIE-LCHlch(39.44, 80.69, 318.28°)
OKLaboklab(50.48% 0.1433 -0.1517)
OKLCHoklch(50.48% 0.209 313.4)
XYZxyz(20.3649, 10.9175, 45.2814)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB6 #56B62D
analogous
#492DB6 #8D2DB6 #B62D9A
triadic
#8D2DB6 #B68D2D #2DB68D
tetradic
#8D2DB6 #B6492D #56B62D #2D9AB6
square
#8D2DB6 #B6492D #56B62D #2D9AB6
split-complementary
#8D2DB6 #9AB62D #2DB649
monochromatic
#411554 #672185 #8D2DB6 #AB4DD3 #C27EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2DB6#FFFFFF#000000##FFFFFF
##8D2DB61.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)
#0058BA
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#894C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2db6;
/* rgb */ color: rgb(141, 45, 182);
/* oklch */ color: oklch(50.5% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#b370cd',
    500: '#8d2db6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db6;
$custom-light: #b370cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db6",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 282.044,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.20871,
    "h": 313.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#8D2DB6
secondary
#8FC877
accent
#E34474
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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