#8E26AF#8E26AF

#8E26AF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.210 H 316.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8E26AF
RGBrgb(142, 38, 175)
HSLhsl(286, 64%, 42%)
HSVhsv(286, 78%, 69%)
CMYKcmyk(18.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(38.26, 61.46, -51.45)
CIE-LCHlch(38.26, 80.15, 320.06°)
OKLaboklab(49.52% 0.1518 -0.1451)
OKLCHoklch(49.52% 0.21 316.3)
XYZxyz(19.5851, 10.2330, 41.4926)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26AF #47AF26
analogous
#4926AF #8E26AF #AF268C
triadic
#8E26AF #AF8E26 #26AF8E
tetradic
#8E26AF #AF4926 #47AF26 #268CAF
square
#8E26AF #AF4926 #47AF26 #268CAF
split-complementary
#8E26AF #8CAF26 #26AF49
monochromatic
#3C104A #651B7D #8E26AF #B03DD5 #C570E0

Accessibility & contrast

On white

6.89
#8E26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E26AF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26AF#FFFFFF#000000##FFFFFF
##8E26AF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#8C456A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e26af;
/* rgb */ color: rgb(142, 38, 175);
/* oklch */ color: oklch(49.5% 0.210 316.3);
Tailwind
colors: {
  custom: {
    50: '#b36dc8',
    500: '#8e26af',
    950: '#000000',
  },
}
SCSS
$custom: #8e26af;
$custom-light: #b36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26af",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 285.547,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.20997,
    "h": 316.3
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#8E26AF
secondary
#80C76A
accent
#E74069
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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