#8D2DBB#8D2DBB

#8D2DBB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.213 H 311.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8D2DBB
RGBrgb(141, 45, 187)
HSLhsl(281, 61%, 45%)
HSVhsv(281, 76%, 73%)
CMYKcmyk(24.6%, 75.9%, 0%, 26.7%)
CIE-LABlab(39.80, 61.25, -56.07)
CIE-LCHlch(39.80, 83.04, 317.53°)
OKLaboklab(50.84% 0.1425 -0.1587)
OKLCHoklch(50.84% 0.213 311.9)
XYZxyz(20.8909, 11.1279, 48.0515)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DBB #5BBB2D
analogous
#462DBB #8D2DBB #BB2DA2
triadic
#8D2DBB #BB8D2D #2DBB8D
tetradic
#8D2DBB #BB462D #5BBB2D #2DA2BB
square
#8D2DBB #BB462D #5BBB2D #2DA2BB
split-complementary
#8D2DBB #A2BB2D #2DBB46
monochromatic
#431558 #68218A #8D2DBB #AA50D5 #C282E1

Accessibility & contrast

On white

6.51
#8D2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DBB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DBB#FFFFFF#000000##FFFFFF
##8D2DBB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#1460B8
Tritanopia (blue-blind)
#874E73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2dbb;
/* rgb */ color: rgb(141, 45, 187);
/* oklch */ color: oklch(50.8% 0.213 311.9);
Tailwind
colors: {
  custom: {
    50: '#b370d0',
    500: '#8d2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dbb;
$custom-light: #b370d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dbb",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 280.563,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.21327,
    "h": 311.9
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#8D2DBB
secondary
#94CA7A
accent
#E44378
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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