#8E26B7#8E26B7

#8E26B7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.217 H 313.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8E26B7
RGBrgb(142, 38, 183)
HSLhsl(283, 66%, 43%)
HSVhsv(283, 79%, 72%)
CMYKcmyk(22.4%, 79.2%, 0%, 28.2%)
CIE-LABlab(38.82, 63.03, -55.28)
CIE-LCHlch(38.82, 83.84, 318.75°)
OKLaboklab(50.1% 0.1504 -0.1563)
OKLCHoklch(50.1% 0.217 313.9)
XYZxyz(20.3942, 10.5566, 45.7539)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26B7 #4FB726
analogous
#4526B7 #8E26B7 #B72698
triadic
#8E26B7 #B78E26 #26B78E
tetradic
#8E26B7 #B74526 #4FB726 #2698B7
square
#8E26B7 #B74526 #4FB726 #2698B7
split-complementary
#8E26B7 #98B726 #26B745
monochromatic
#3F1152 #671B84 #8E26B7 #AE42D8 #C375E2

Accessibility & contrast

On white

6.75
#8E26B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E26B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26B7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26B7#FFFFFF#000000##FFFFFF
##8E26B71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#8A496F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e26b7;
/* rgb */ color: rgb(142, 38, 183);
/* oklch */ color: oklch(50.1% 0.217 313.9);
Tailwind
colors: {
  custom: {
    50: '#b46dcd',
    500: '#8e26b7',
    950: '#000000',
  },
}
SCSS
$custom: #8e26b7;
$custom-light: #b46dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26b7",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 283.034,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.2169,
    "h": 313.9
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#8E26B7
secondary
#89CA6F
accent
#E93F6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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