#8E26AD#8E26AD

#8E26AD is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.208 H 316.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8E26AD
RGBrgb(142, 38, 173)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 68%)
CMYKcmyk(17.9%, 78%, 0%, 32.2%)
CIE-LABlab(38.12, 61.07, -50.48)
CIE-LCHlch(38.12, 79.23, 320.42°)
OKLaboklab(49.38% 0.1521 -0.1422)
OKLCHoklch(49.38% 0.208 316.9)
XYZxyz(19.3901, 10.1550, 40.4658)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26AD #45AD26
analogous
#4B26AD #8E26AD #AD2689
triadic
#8E26AD #AD8E26 #26AD8E
tetradic
#8E26AD #AD4B26 #45AD26 #2689AD
square
#8E26AD #AD4B26 #45AD26 #2689AD
split-complementary
#8E26AD #89AD26 #26AD4B
monochromatic
#3C1049 #651B7B #8E26AD #B13CD4 #C56EDF

Accessibility & contrast

On white

6.93
#8E26AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E26AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26AD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26AD#FFFFFF#000000##FFFFFF
##8E26AD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#8C4469
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e26ad;
/* rgb */ color: rgb(142, 38, 173);
/* oklch */ color: oklch(49.4% 0.208 316.9);
Tailwind
colors: {
  custom: {
    50: '#b36dc6',
    500: '#8e26ad',
    950: '#000000',
  },
}
SCSS
$custom: #8e26ad;
$custom-light: #b36dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26ad",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 286.222,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49382,
    "c": 0.20824,
    "h": 316.9
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#8E26AD
secondary
#7EC669
accent
#E74167
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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