#8D26A4#8D26A4

#8D26A4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.200 H 319.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D26A4
RGBrgb(141, 38, 164)
HSLhsl(289, 62%, 40%)
HSVhsv(289, 77%, 64%)
CMYKcmyk(14%, 76.8%, 0%, 35.7%)
CIE-LABlab(37.35, 59.15, -46.34)
CIE-LCHlch(37.35, 75.14, 321.93°)
OKLaboklab(48.62% 0.1521 -0.1301)
OKLCHoklch(48.62% 0.2 319.5)
XYZxyz(18.3776, 9.7302, 36.0249)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A4 #3DA426
analogous
#4E26A4 #8D26A4 #A4267C
triadic
#8D26A4 #A48D26 #26A48D
tetradic
#8D26A4 #A44E26 #3DA426 #267CA4
square
#8D26A4 #A44E26 #3DA426 #267CA4
split-complementary
#8D26A4 #7CA426 #26A44E
monochromatic
#380F41 #621A72 #8D26A4 #B437D1 #C768DC

Accessibility & contrast

On white

7.13
#8D26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A4#FFFFFF#000000##FFFFFF
##8D26A41.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#8D4064
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d26a4;
/* rgb */ color: rgb(141, 38, 164);
/* oklch */ color: oklch(48.6% 0.200 319.5);
Tailwind
colors: {
  custom: {
    50: '#b26cc0',
    500: '#8d26a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a4;
$custom-light: #b26cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a4",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 289.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48617,
    "c": 0.20014,
    "h": 319.5
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#8D26A4
secondary
#75C264
accent
#E54260
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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