#8D26B6#8D26B6

#8D26B6 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.216 H 313.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D26B6
RGBrgb(141, 38, 182)
HSLhsl(283, 65%, 43%)
HSVhsv(283, 79%, 71%)
CMYKcmyk(22.5%, 79.1%, 0%, 28.6%)
CIE-LABlab(38.60, 62.65, -55.06)
CIE-LCHlch(38.60, 83.41, 318.69°)
OKLaboklab(49.89% 0.1493 -0.1557)
OKLCHoklch(49.89% 0.216 313.8)
XYZxyz(20.1196, 10.4270, 45.1997)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B6 #4FB626
analogous
#4526B6 #8D26B6 #B62697
triadic
#8D26B6 #B68D26 #26B68D
tetradic
#8D26B6 #B64526 #4FB626 #2697B6
square
#8D26B6 #B64526 #4FB626 #2697B6
split-complementary
#8D26B6 #97B626 #26B645
monochromatic
#3F1151 #661B83 #8D26B6 #AD42D7 #C374E2

Accessibility & contrast

On white

6.81
#8D26B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D26B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B6#FFFFFF#000000##FFFFFF
##8D26B61.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#89496E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d26b6;
/* rgb */ color: rgb(141, 38, 182);
/* oklch */ color: oklch(49.9% 0.216 313.8);
Tailwind
colors: {
  custom: {
    50: '#b36dcd',
    500: '#8d26b6',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b6;
$custom-light: #b36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b6",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 282.917,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.21571,
    "h": 313.8
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#8D26B6
secondary
#88C96E
accent
#E83F70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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