#8D2EB7#8D2EB7

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

Color values

HEX#8D2EB7
RGBrgb(141, 46, 183)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(23%, 74.9%, 0%, 28.2%)
CIE-LABlab(39.64, 60.05, -53.96)
CIE-LCHlch(39.64, 80.74, 318.06°)
OKLaboklab(50.65% 0.1422 -0.1525)
OKLCHoklch(50.65% 0.209 313)
XYZxyz(20.5072, 11.0362, 45.8405)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB7 #58B72E
analogous
#492EB7 #8D2EB7 #B72E9C
triadic
#8D2EB7 #B78D2E #2EB78D
tetradic
#8D2EB7 #B7492E #58B72E #2E9CB7
square
#8D2EB7 #B7492E #58B72E #2E9CB7
split-complementary
#8D2EB7 #9CB72E #2EB749
monochromatic
#421555 #672286 #8D2EB7 #AB4FD3 #C280DF

Accessibility & contrast

On white

6.55
#8D2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EB7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EB7#FFFFFF#000000##FFFFFF
##8D2EB71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#1F5FB4
Tritanopia (blue-blind)
#884D71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2eb7;
/* rgb */ color: rgb(141, 46, 183);
/* oklch */ color: oklch(50.6% 0.209 313.0);
Tailwind
colors: {
  custom: {
    50: '#b371cd',
    500: '#8d2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb7;
$custom-light: #b371cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb7",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 281.606,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.20855,
    "h": 313
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#8D2EB7
secondary
#91C879
accent
#E34575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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