#8D2DB7#8D2DB7

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

Color values

HEX#8D2DB7
RGBrgb(141, 45, 183)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(23%, 75.4%, 0%, 28.2%)
CIE-LABlab(39.51, 60.43, -54.17)
CIE-LCHlch(39.51, 81.16, 318.12°)
OKLaboklab(50.56% 0.1432 -0.1531)
OKLCHoklch(50.56% 0.21 313.1)
XYZxyz(20.4686, 10.9590, 45.8276)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB7 #57B72D
analogous
#482DB7 #8D2DB7 #B72D9C
triadic
#8D2DB7 #B78D2D #2DB78D
tetradic
#8D2DB7 #B7482D #57B72D #2D9CB7
square
#8D2DB7 #B7482D #57B72D #2D9CB7
split-complementary
#8D2DB7 #9CB72D #2DB748
monochromatic
#411555 #672186 #8D2DB7 #AB4ED3 #C27FDF

Accessibility & contrast

On white

6.58
#8D2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D2DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DB7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DB7#FFFFFF#000000##FFFFFF
##8D2DB71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#1D5FB4
Tritanopia (blue-blind)
#884D70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2db7;
/* rgb */ color: rgb(141, 45, 183);
/* oklch */ color: oklch(50.6% 0.210 313.1);
Tailwind
colors: {
  custom: {
    50: '#b370cd',
    500: '#8d2db7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db7;
$custom-light: #b370cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db7",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 281.739,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.20962,
    "h": 313.1
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#8D2DB7
secondary
#90C878
accent
#E44475
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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