#8D26A1#8D26A1

#8D26A1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.198 H 320.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D26A1
RGBrgb(141, 38, 161)
HSLhsl(290, 62%, 39%)
HSVhsv(290, 76%, 63%)
CMYKcmyk(12.4%, 76.4%, 0%, 36.9%)
CIE-LABlab(37.16, 58.59, -44.85)
CIE-LCHlch(37.16, 73.78, 322.57°)
OKLaboklab(48.42% 0.1524 -0.1257)
OKLCHoklch(48.42% 0.198 320.5)
XYZxyz(18.1099, 9.6231, 34.6148)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A1 #3AA126
analogous
#5026A1 #8D26A1 #A12678
triadic
#8D26A1 #A18D26 #26A18D
tetradic
#8D26A1 #A15026 #3AA126 #2678A1
square
#8D26A1 #A15026 #3AA126 #2678A1
split-complementary
#8D26A1 #78A126 #26A150
monochromatic
#360F3E #621A6F #8D26A1 #B635CF #C866DB

Accessibility & contrast

On white

7.18
#8D26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D26A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A1#FFFFFF#000000##FFFFFF
##8D26A11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#8E3F62
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d26a1;
/* rgb */ color: rgb(141, 38, 161);
/* oklch */ color: oklch(48.4% 0.198 320.5);
Tailwind
colors: {
  custom: {
    50: '#b26cbd',
    500: '#8d26a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a1;
$custom-light: #b26cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a1",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 290.244,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.19758,
    "h": 320.5
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#8D26A1
secondary
#71C162
accent
#E5435D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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