#8D26B7#8D26B7

#8D26B7 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.217 H 313.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D26B7
RGBrgb(141, 38, 183)
HSLhsl(283, 66%, 43%)
HSVhsv(283, 79%, 72%)
CMYKcmyk(23%, 79.2%, 0%, 28.2%)
CIE-LABlab(38.67, 62.85, -55.53)
CIE-LCHlch(38.67, 83.87, 318.54°)
OKLaboklab(49.96% 0.1491 -0.1571)
OKLCHoklch(49.96% 0.217 313.5)
XYZxyz(20.2234, 10.4685, 45.7459)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B7 #50B726
analogous
#4526B7 #8D26B7 #B72698
triadic
#8D26B7 #B78D26 #26B78D
tetradic
#8D26B7 #B74526 #50B726 #2698B7
square
#8D26B7 #B74526 #50B726 #2698B7
split-complementary
#8D26B7 #98B726 #26B745
monochromatic
#3F1152 #661B84 #8D26B7 #AD42D8 #C375E2

Accessibility & contrast

On white

6.79
#8D26B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D26B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B7#FFFFFF#000000##FFFFFF
##8D26B71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#89496F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d26b7;
/* rgb */ color: rgb(141, 38, 183);
/* oklch */ color: oklch(50.0% 0.217 313.5);
Tailwind
colors: {
  custom: {
    50: '#b36dcd',
    500: '#8d26b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b7;
$custom-light: #b36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b7",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 282.621,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.21658,
    "h": 313.5
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#8D26B7
secondary
#89CA6F
accent
#E93F70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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