#8E26A4#8E26A4

#8E26A4 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.201 H 319.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8E26A4
RGBrgb(142, 38, 164)
HSLhsl(290, 62%, 40%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(13.4%, 76.8%, 0%, 35.7%)
CIE-LABlab(37.51, 59.35, -46.07)
CIE-LCHlch(37.51, 75.14, 322.18°)
OKLaboklab(48.76% 0.1533 -0.1293)
OKLCHoklch(48.76% 0.201 319.9)
XYZxyz(18.5484, 9.8183, 36.0329)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26A4 #3CA426
analogous
#4F26A4 #8E26A4 #A4267B
triadic
#8E26A4 #A48E26 #26A48E
tetradic
#8E26A4 #A44F26 #3CA426 #267BA4
square
#8E26A4 #A44F26 #3CA426 #267BA4
split-complementary
#8E26A4 #7BA426 #26A44F
monochromatic
#380F41 #631A72 #8E26A4 #B637D1 #C868DC

Accessibility & contrast

On white

7.09
#8E26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E26A4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26A4#FFFFFF#000000##FFFFFF
##8E26A41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#8E4064
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e26a4;
/* rgb */ color: rgb(142, 38, 164);
/* oklch */ color: oklch(48.8% 0.201 319.9);
Tailwind
colors: {
  custom: {
    50: '#b36cc0',
    500: '#8e26a4',
    950: '#000000',
  },
}
SCSS
$custom: #8e26a4;
$custom-light: #b36cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26a4",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 289.524,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.20053,
    "h": 319.9
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#8E26A4
secondary
#74C264
accent
#E5425F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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