#8E26AB#8E26AB

#8E26AB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 317.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8E26AB
RGBrgb(142, 38, 171)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(17%, 77.8%, 0%, 32.9%)
CIE-LABlab(37.98, 60.68, -49.51)
CIE-LCHlch(37.98, 78.32, 320.79°)
OKLaboklab(49.24% 0.1524 -0.1394)
OKLCHoklch(49.24% 0.207 317.6)
XYZxyz(19.1981, 10.0781, 39.4542)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26AB #43AB26
analogous
#4B26AB #8E26AB #AB2685
triadic
#8E26AB #AB8E26 #26AB8E
tetradic
#8E26AB #AB4B26 #43AB26 #2685AB
square
#8E26AB #AB4B26 #43AB26 #2685AB
split-complementary
#8E26AB #85AB26 #26AB4B
monochromatic
#3B1047 #641B79 #8E26AB #B23BD3 #C66DDF

Accessibility & contrast

On white

6.96
#8E26AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E26AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26AB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26AB#FFFFFF#000000##FFFFFF
##8E26AB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#2A5CA8
Tritanopia (blue-blind)
#8D4368
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e26ab;
/* rgb */ color: rgb(142, 38, 171);
/* oklch */ color: oklch(49.2% 0.207 317.6);
Tailwind
colors: {
  custom: {
    50: '#b36dc5',
    500: '#8e26ab',
    950: '#000000',
  },
}
SCSS
$custom: #8e26ab;
$custom-light: #b36dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26ab",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 286.917,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.20652,
    "h": 317.6
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#8E26AB
secondary
#7CC568
accent
#E74165
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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