#8D26B1#8D26B1

#8D26B1 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.211 H 315.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D26B1
RGBrgb(141, 38, 177)
HSLhsl(284, 65%, 42%)
HSVhsv(284, 79%, 69%)
CMYKcmyk(20.3%, 78.5%, 0%, 30.6%)
CIE-LABlab(38.24, 61.66, -52.67)
CIE-LCHlch(38.24, 81.10, 319.49°)
OKLaboklab(49.53% 0.1502 -0.1487)
OKLCHoklch(49.53% 0.211 315.3)
XYZxyz(19.6121, 10.2240, 42.5268)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B1 #4AB126
analogous
#4726B1 #8D26B1 #B12690
triadic
#8D26B1 #B18D26 #26B18D
tetradic
#8D26B1 #B14726 #4AB126 #2690B1
square
#8D26B1 #B14726 #4AB126 #2690B1
split-complementary
#8D26B1 #90B126 #26B147
monochromatic
#3D104C #651B7F #8D26B1 #AF3FD6 #C471E0

Accessibility & contrast

On white

6.90
#8D26B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D26B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B1#FFFFFF#000000##FFFFFF
##8D26B11.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#8A466B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d26b1;
/* rgb */ color: rgb(141, 38, 177);
/* oklch */ color: oklch(49.5% 0.211 315.3);
Tailwind
colors: {
  custom: {
    50: '#b36dc9',
    500: '#8d26b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b1;
$custom-light: #b36dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b1",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 284.46,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.21135,
    "h": 315.3
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#8D26B1
secondary
#83C76B
accent
#E8406C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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