#8D26B4#8D26B4

#8D26B4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.214 H 314.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D26B4
RGBrgb(141, 38, 180)
HSLhsl(284, 65%, 43%)
HSVhsv(284, 79%, 71%)
CMYKcmyk(21.7%, 78.9%, 0%, 29.4%)
CIE-LABlab(38.45, 62.25, -54.11)
CIE-LCHlch(38.45, 82.48, 319.00°)
OKLaboklab(49.74% 0.1497 -0.1529)
OKLCHoklch(49.74% 0.214 314.4)
XYZxyz(19.9144, 10.3449, 44.1189)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B4 #4DB426
analogous
#4626B4 #8D26B4 #B42694
triadic
#8D26B4 #B48D26 #26B48D
tetradic
#8D26B4 #B44626 #4DB426 #2694B4
square
#8D26B4 #B44626 #4DB426 #2694B4
split-complementary
#8D26B4 #94B426 #26B446
monochromatic
#3E114F #651B81 #8D26B4 #AD40D7 #C373E1

Accessibility & contrast

On white

6.84
#8D26B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D26B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B4#FFFFFF#000000##FFFFFF
##8D26B41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#89486D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d26b4;
/* rgb */ color: rgb(141, 38, 180);
/* oklch */ color: oklch(49.7% 0.214 314.4);
Tailwind
colors: {
  custom: {
    50: '#b36dcb',
    500: '#8d26b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b4;
$custom-light: #b36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b4",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 283.521,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.21396,
    "h": 314.4
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#8D26B4
secondary
#86C96D
accent
#E8406E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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