#8E26A5#8E26A5

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

Color values

HEX#8E26A5
RGBrgb(142, 38, 165)
HSLhsl(289, 63%, 40%)
HSVhsv(289, 77%, 65%)
CMYKcmyk(13.9%, 77%, 0%, 35.3%)
CIE-LABlab(37.58, 59.54, -46.57)
CIE-LCHlch(37.58, 75.59, 321.97°)
OKLaboklab(48.83% 0.1532 -0.1307)
OKLCHoklch(48.83% 0.201 319.5)
XYZxyz(18.6391, 9.8546, 36.5103)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26A5 #3DA526
analogous
#4F26A5 #8E26A5 #A5267D
triadic
#8E26A5 #A58E26 #26A58E
tetradic
#8E26A5 #A54F26 #3DA526 #267DA5
square
#8E26A5 #A54F26 #3DA526 #267DA5
split-complementary
#8E26A5 #7DA526 #26A54F
monochromatic
#380F42 #631B73 #8E26A5 #B537D1 #C869DC

Accessibility & contrast

On white

7.07
#8E26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E26A5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26A5#FFFFFF#000000##FFFFFF
##8E26A51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#8E4165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e26a5;
/* rgb */ color: rgb(142, 38, 165);
/* oklch */ color: oklch(48.8% 0.201 319.5);
Tailwind
colors: {
  custom: {
    50: '#b36cc0',
    500: '#8e26a5',
    950: '#000000',
  },
}
SCSS
$custom: #8e26a5;
$custom-light: #b36cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26a5",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 289.134,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.20138,
    "h": 319.5
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#8E26A5
secondary
#75C364
accent
#E64260
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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