#8E26A2#8E26A2

#8E26A2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 320.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E26A2
RGBrgb(142, 38, 162)
HSLhsl(290, 62%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.3%, 76.5%, 0%, 36.5%)
CIE-LABlab(37.38, 58.98, -45.08)
CIE-LCHlch(37.38, 74.23, 322.61°)
OKLaboklab(48.63% 0.1535 -0.1264)
OKLCHoklch(48.63% 0.199 320.5)
XYZxyz(18.3693, 9.7466, 35.0891)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E26A2 #3AA226
analogous
#5026A2 #8E26A2 #A22678
triadic
#8E26A2 #A28E26 #26A28E
tetradic
#8E26A2 #A25026 #3AA226 #2678A2
square
#8E26A2 #A25026 #3AA226 #2678A2
split-complementary
#8E26A2 #78A226 #26A250
monochromatic
#370F3F #631A70 #8E26A2 #B735D0 #C967DB

Accessibility & contrast

On white

7.12
#8E26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8E26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E26A2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E26A2#FFFFFF#000000##FFFFFF
##8E26A21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#335C9F
Tritanopia (blue-blind)
#8F3F63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e26a2;
/* rgb */ color: rgb(142, 38, 162);
/* oklch */ color: oklch(48.6% 0.199 320.5);
Tailwind
colors: {
  custom: {
    50: '#b36cbe',
    500: '#8e26a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e26a2;
$custom-light: #b36cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e26a2",
  "rgb": {
    "r": 142,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 290.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.19883,
    "h": 320.5
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#8E26A2
secondary
#72C163
accent
#E5435D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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