#8D2EB4#8D2EB4

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

Color values

HEX#8D2EB4
RGBrgb(141, 46, 180)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21.7%, 74.4%, 0%, 29.4%)
CIE-LABlab(39.43, 59.44, -52.53)
CIE-LCHlch(39.43, 79.32, 318.53°)
OKLaboklab(50.43% 0.1427 -0.1483)
OKLCHoklch(50.43% 0.206 313.9)
XYZxyz(20.1983, 10.9127, 44.2135)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB4 #55B42E
analogous
#4A2EB4 #8D2EB4 #B42E98
triadic
#8D2EB4 #B48D2E #2EB48D
tetradic
#8D2EB4 #B44A2E #55B42E #2E98B4
square
#8D2EB4 #B44A2E #55B42E #2E98B4
split-complementary
#8D2EB4 #98B42E #2EB44A
monochromatic
#411553 #672283 #8D2EB4 #AB4ED2 #C27EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2EB4#FFFFFF#000000##FFFFFF
##8D2EB41.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)
#0058B8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#894C6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2eb4;
/* rgb */ color: rgb(141, 46, 180);
/* oklch */ color: oklch(50.4% 0.206 313.9);
Tailwind
colors: {
  custom: {
    50: '#b370cb',
    500: '#8d2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb4;
$custom-light: #b370cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb4",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 282.537,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.20579,
    "h": 313.9
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#8D2EB4
secondary
#8EC777
accent
#E24573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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