#8D2EB8#8D2EB8

#8D2EB8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.209 H 312.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D2EB8
RGBrgb(141, 46, 184)
HSLhsl(281, 60%, 45%)
HSVhsv(281, 75%, 72%)
CMYKcmyk(23.4%, 75%, 0%, 27.8%)
CIE-LABlab(39.71, 60.26, -54.44)
CIE-LCHlch(39.71, 81.21, 317.91°)
OKLaboklab(50.72% 0.1421 -0.1539)
OKLCHoklch(50.72% 0.209 312.7)
XYZxyz(20.6117, 11.0780, 46.3906)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB8 #59B82E
analogous
#482EB8 #8D2EB8 #B82E9E
triadic
#8D2EB8 #B88D2E #2EB88D
tetradic
#8D2EB8 #B8482E #59B82E #2E9EB8
square
#8D2EB8 #B8482E #59B82E #2E9EB8
split-complementary
#8D2EB8 #9EB82E #2EB848
monochromatic
#421656 #672287 #8D2EB8 #AA50D3 #C281DF

Accessibility & contrast

On white

6.53
#8D2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8D2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EB8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EB8#FFFFFF#000000##FFFFFF
##8D2EB81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#884E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2eb8;
/* rgb */ color: rgb(141, 46, 184);
/* oklch */ color: oklch(50.7% 0.209 312.7);
Tailwind
colors: {
  custom: {
    50: '#b371ce',
    500: '#8d2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb8;
$custom-light: #b371ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb8",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 281.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.20946,
    "h": 312.7
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#8D2EB8
secondary
#92C879
accent
#E34576
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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