#8E26B6#8E26B6

#8E26B6 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.216 H 314.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8E26B6
RGBrgb(142, 38, 182)
HSLhsl(283, 65%, 43%)
HSVhsv(283, 79%, 71%)
CMYKcmyk(22%, 79.1%, 0%, 28.6%)
CIE-LABlab(38.75, 62.83, -54.80)
CIE-LCHlch(38.75, 83.37, 318.90°)
OKLaboklab(50.03% 0.1506 -0.1549)
OKLCHoklch(50.03% 0.216 314.2)
XYZxyz(20.2905, 10.5151, 45.2077)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26B6 #4EB626
analogous
#4626B6 #8E26B6 #B62696
triadic
#8E26B6 #B68E26 #26B68E
tetradic
#8E26B6 #B64626 #4EB626 #2696B6
square
#8E26B6 #B64626 #4EB626 #2696B6
split-complementary
#8E26B6 #96B626 #26B646
monochromatic
#3F1151 #661B83 #8E26B6 #AE42D7 #C474E2

Accessibility & contrast

On white

6.77
#8E26B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8E26B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26B6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26B6#FFFFFF#000000##FFFFFF
##8E26B61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#8A496E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e26b6;
/* rgb */ color: rgb(142, 38, 182);
/* oklch */ color: oklch(50.0% 0.216 314.2);
Tailwind
colors: {
  custom: {
    50: '#b46dcd',
    500: '#8e26b6',
    950: '#000000',
  },
}
SCSS
$custom: #8e26b6;
$custom-light: #b46dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26b6",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 283.333,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.21602,
    "h": 314.2
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#8E26B6
secondary
#88C96E
accent
#E83F6E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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