#8D26A9#8D26A9

#8D26A9 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.204 H 317.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D26A9
RGBrgb(141, 38, 169)
HSLhsl(287, 63%, 41%)
HSVhsv(287, 78%, 66%)
CMYKcmyk(16.6%, 77.5%, 0%, 33.7%)
CIE-LABlab(37.69, 60.10, -48.80)
CIE-LCHlch(37.69, 77.42, 320.93°)
OKLaboklab(48.96% 0.1515 -0.1373)
OKLCHoklch(48.96% 0.204 317.8)
XYZxyz(18.8380, 9.9144, 38.4498)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A9 #42A926
analogous
#4C26A9 #8D26A9 #A92683
triadic
#8D26A9 #A98D26 #26A98D
tetradic
#8D26A9 #A94C26 #42A926 #2683A9
square
#8D26A9 #A94C26 #42A926 #2683A9
split-complementary
#8D26A9 #83A926 #26A94C
monochromatic
#3A1045 #631B77 #8D26A9 #B23AD3 #C56CDE

Accessibility & contrast

On white

7.04
#8D26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A9#FFFFFF#000000##FFFFFF
##8D26A91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#8C4367
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d26a9;
/* rgb */ color: rgb(141, 38, 169);
/* oklch */ color: oklch(49.0% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#b26cc3',
    500: '#8d26a9',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a9;
$custom-light: #b26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a9",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 287.176,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4896,
    "c": 0.20443,
    "h": 317.8
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#8D26A9
secondary
#7BC467
accent
#E64165
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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