#8D26B9#8D26B9

#8D26B9 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.218 H 312.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D26B9
RGBrgb(141, 38, 185)
HSLhsl(282, 66%, 44%)
HSVhsv(282, 79%, 73%)
CMYKcmyk(23.8%, 79.5%, 0%, 27.5%)
CIE-LABlab(38.82, 63.25, -56.48)
CIE-LCHlch(38.82, 84.80, 318.24°)
OKLaboklab(50.11% 0.1487 -0.1599)
OKLCHoklch(50.11% 0.218 312.9)
XYZxyz(20.4330, 10.5524, 46.8500)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B9 #52B926
analogous
#4326B9 #8D26B9 #B9269B
triadic
#8D26B9 #B98D26 #26B98D
tetradic
#8D26B9 #B94326 #52B926 #269BB9
square
#8D26B9 #B94326 #52B926 #269BB9
split-complementary
#8D26B9 #9BB926 #26B943
monochromatic
#401153 #661C86 #8D26B9 #AC44D9 #C276E3

Accessibility & contrast

On white

6.75
#8D26B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D26B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B9#FFFFFF#000000##FFFFFF
##8D26B91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0D5DB6
Tritanopia (blue-blind)
#884A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d26b9;
/* rgb */ color: rgb(141, 38, 185);
/* oklch */ color: oklch(50.1% 0.218 312.9);
Tailwind
colors: {
  custom: {
    50: '#b36dcf',
    500: '#8d26b9',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b9;
$custom-light: #b36dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b9",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 282.041,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.21833,
    "h": 312.9
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#8D26B9
secondary
#8BCA70
accent
#E93F72
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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