#8D2CB7#8D2CB7

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

Color values

HEX#8D2CB7
RGBrgb(141, 44, 183)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 72%)
CMYKcmyk(23%, 76%, 0%, 28.2%)
CIE-LABlab(39.38, 60.79, -54.38)
CIE-LCHlch(39.38, 81.57, 318.19°)
OKLaboklab(50.46% 0.1441 -0.1537)
OKLCHoklch(50.46% 0.211 313.1)
XYZxyz(20.4309, 10.8836, 45.8151)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CB7 #56B72C
analogous
#482CB7 #8D2CB7 #B72C9B
triadic
#8D2CB7 #B78D2C #2CB78D
tetradic
#8D2CB7 #B7482C #56B72C #2C9BB7
square
#8D2CB7 #B7482C #56B72C #2C9BB7
split-complementary
#8D2CB7 #9BB72C #2CB748
monochromatic
#411454 #672086 #8D2CB7 #AB4CD4 #C27EE0

Accessibility & contrast

On white

6.61
#8D2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2CB7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CB7#FFFFFF#000000##FFFFFF
##8D2CB71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2cb7;
/* rgb */ color: rgb(141, 44, 183);
/* oklch */ color: oklch(50.5% 0.211 313.1);
Tailwind
colors: {
  custom: {
    50: '#b370cd',
    500: '#8d2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cb7;
$custom-light: #b370cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cb7",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 281.871,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.21067,
    "h": 313.1
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#8D2CB7
secondary
#8FC876
accent
#E44374
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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