#8D26B5#8D26B5

#8D26B5 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.215 H 314.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8D26B5
RGBrgb(141, 38, 181)
HSLhsl(283, 65%, 43%)
HSVhsv(283, 79%, 71%)
CMYKcmyk(22.1%, 79%, 0%, 29%)
CIE-LABlab(38.53, 62.45, -54.59)
CIE-LCHlch(38.53, 82.94, 318.84°)
OKLaboklab(49.82% 0.1495 -0.1543)
OKLCHoklch(49.82% 0.215 314.1)
XYZxyz(20.0167, 10.3858, 44.6574)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B5 #4EB526
analogous
#4626B5 #8D26B5 #B52695
triadic
#8D26B5 #B58D26 #26B58D
tetradic
#8D26B5 #B54626 #4EB526 #2695B5
square
#8D26B5 #B54626 #4EB526 #2695B5
split-complementary
#8D26B5 #95B526 #26B546
monochromatic
#3E1150 #661B82 #8D26B5 #AD41D7 #C374E2

Accessibility & contrast

On white

6.82
#8D26B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D26B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B5#FFFFFF#000000##FFFFFF
##8D26B51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#89486E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d26b5;
/* rgb */ color: rgb(141, 38, 181);
/* oklch */ color: oklch(49.8% 0.215 314.1);
Tailwind
colors: {
  custom: {
    50: '#b36dcc',
    500: '#8d26b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b5;
$custom-light: #b36dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b5",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 181
  },
  "hsl": {
    "h": 283.217,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.21483,
    "h": 314.1
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#8D26B5
secondary
#87C96E
accent
#E8406F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D26B5

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

Preview Lab → · Contrast checker → · Palette generator →

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