#8E26BA#8E26BA

#8E26BA is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.220 H 313.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8E26BA
RGBrgb(142, 38, 186)
HSLhsl(282, 66%, 44%)
HSVhsv(282, 80%, 73%)
CMYKcmyk(23.7%, 79.6%, 0%, 27.1%)
CIE-LABlab(39.04, 63.63, -56.70)
CIE-LCHlch(39.04, 85.22, 318.30°)
OKLaboklab(50.32% 0.1498 -0.1605)
OKLCHoklch(50.32% 0.22 313)
XYZxyz(20.7098, 10.6828, 47.4159)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26BA #52BA26
analogous
#4426BA #8E26BA #BA269C
triadic
#8E26BA #BA8E26 #26BA8E
tetradic
#8E26BA #BA4426 #52BA26 #269CBA
square
#8E26BA #BA4426 #52BA26 #269CBA
split-complementary
#8E26BA #9CBA26 #26BA44
monochromatic
#401154 #671C87 #8E26BA #AD44D9 #C377E3

Accessibility & contrast

On white

6.70
#8E26BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8E26BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26BA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26BA#FFFFFF#000000##FFFFFF
##8E26BA1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0D5EB7
Tritanopia (blue-blind)
#894A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e26ba;
/* rgb */ color: rgb(142, 38, 186);
/* oklch */ color: oklch(50.3% 0.220 313.0);
Tailwind
colors: {
  custom: {
    50: '#b46dd0',
    500: '#8e26ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e26ba;
$custom-light: #b46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26ba",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 282.162,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.21951,
    "h": 313
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#8E26BA
secondary
#8CCB71
accent
#E93F71
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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