#8E26AA#8E26AA

#8E26AA is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.206 H 317.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8E26AA
RGBrgb(142, 38, 170)
HSLhsl(287, 63%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(16.5%, 77.6%, 0%, 33.3%)
CIE-LABlab(37.91, 60.49, -49.02)
CIE-LCHlch(37.91, 77.86, 320.98°)
OKLaboklab(49.17% 0.1526 -0.1379)
OKLCHoklch(49.17% 0.206 317.9)
XYZxyz(19.1031, 10.0402, 38.9541)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26AA #42AA26
analogous
#4C26AA #8E26AA #AA2684
triadic
#8E26AA #AA8E26 #26AA8E
tetradic
#8E26AA #AA4C26 #42AA26 #2684AA
square
#8E26AA #AA4C26 #42AA26 #2684AA
split-complementary
#8E26AA #84AA26 #26AA4C
monochromatic
#3A1046 #641B78 #8E26AA #B33AD3 #C66CDE

Accessibility & contrast

On white

6.98
#8E26AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E26AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26AA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26AA#FFFFFF#000000##FFFFFF
##8E26AA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#8D4367
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e26aa;
/* rgb */ color: rgb(142, 38, 170);
/* oklch */ color: oklch(49.2% 0.206 317.9);
Tailwind
colors: {
  custom: {
    50: '#b36dc4',
    500: '#8e26aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e26aa;
$custom-light: #b36dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26aa",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 287.273,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.20567,
    "h": 317.9
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#8E26AA
secondary
#7BC567
accent
#E64164
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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