#8D26A8#8D26A8

#8D26A8 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.204 H 318.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D26A8
RGBrgb(141, 38, 168)
HSLhsl(288, 63%, 40%)
HSVhsv(288, 77%, 66%)
CMYKcmyk(16.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(37.62, 59.91, -48.31)
CIE-LCHlch(37.62, 76.96, 321.12°)
OKLaboklab(48.89% 0.1516 -0.1359)
OKLCHoklch(48.89% 0.204 318.1)
XYZxyz(18.7445, 9.8770, 37.9573)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A8 #41A826
analogous
#4C26A8 #8D26A8 #A82682
triadic
#8D26A8 #A88D26 #26A88D
tetradic
#8D26A8 #A84C26 #41A826 #2682A8
square
#8D26A8 #A84C26 #41A826 #2682A8
split-complementary
#8D26A8 #82A826 #26A84C
monochromatic
#390F44 #631B76 #8D26A8 #B239D2 #C66BDE

Accessibility & contrast

On white

7.06
#8D26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A8#FFFFFF#000000##FFFFFF
##8D26A81.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#2C5CA5
Tritanopia (blue-blind)
#8C4266
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d26a8;
/* rgb */ color: rgb(141, 38, 168);
/* oklch */ color: oklch(48.9% 0.204 318.1);
Tailwind
colors: {
  custom: {
    50: '#b26cc2',
    500: '#8d26a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a8;
$custom-light: #b26cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a8",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 287.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.20357,
    "h": 318.1
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#8D26A8
secondary
#79C466
accent
#E64264
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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