#8D26A6#8D26A6

#8D26A6 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.202 H 318.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D26A6
RGBrgb(141, 38, 166)
HSLhsl(288, 63%, 40%)
HSVhsv(288, 77%, 65%)
CMYKcmyk(15.1%, 77.1%, 0%, 34.9%)
CIE-LABlab(37.49, 59.53, -47.33)
CIE-LCHlch(37.49, 76.05, 321.52°)
OKLaboklab(48.75% 0.1519 -0.133)
OKLCHoklch(48.75% 0.202 318.8)
XYZxyz(18.5596, 9.8030, 36.9836)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A6 #3FA626
analogous
#4D26A6 #8D26A6 #A6267F
triadic
#8D26A6 #A68D26 #26A68D
tetradic
#8D26A6 #A64D26 #3FA626 #267FA6
square
#8D26A6 #A64D26 #3FA626 #267FA6
split-complementary
#8D26A6 #7FA626 #26A64D
monochromatic
#380F42 #631B74 #8D26A6 #B338D1 #C66ADD

Accessibility & contrast

On white

7.09
#8D26A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D26A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A6
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A6#FFFFFF#000000##FFFFFF
##8D26A61.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#8D4165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d26a6;
/* rgb */ color: rgb(141, 38, 166);
/* oklch */ color: oklch(48.8% 0.202 318.8);
Tailwind
colors: {
  custom: {
    50: '#b26cc1',
    500: '#8d26a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a6;
$custom-light: #b26cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a6",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 288.281,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.20185,
    "h": 318.8
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#8D26A6
secondary
#77C365
accent
#E64262
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D26A6

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

Preview Lab → · Contrast checker → · Palette generator →

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