#8E29BA#8E29BA

#8E29BA is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.217 H 312.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8E29BA
RGBrgb(142, 41, 186)
HSLhsl(282, 64%, 45%)
HSVhsv(282, 78%, 73%)
CMYKcmyk(23.7%, 78%, 0%, 27.1%)
CIE-LABlab(39.38, 62.64, -56.14)
CIE-LCHlch(39.38, 84.12, 318.13°)
OKLaboklab(50.56% 0.1474 -0.1589)
OKLCHoklch(50.56% 0.217 312.9)
XYZxyz(20.8096, 10.8825, 47.4492)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29BA #55BA29
analogous
#4529BA #8E29BA #BA299E
triadic
#8E29BA #BA8E29 #29BA8E
tetradic
#8E29BA #BA4529 #55BA29 #299EBA
square
#8E29BA #BA4529 #55BA29 #299EBA
split-complementary
#8E29BA #9EBA29 #29BA45
monochromatic
#411356 #681E88 #8E29BA #AC49D7 #C37BE2

Accessibility & contrast

On white

6.61
#8E29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29BA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29BA#FFFFFF#000000##FFFFFF
##8E29BA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#894C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e29ba;
/* rgb */ color: rgb(142, 41, 186);
/* oklch */ color: oklch(50.6% 0.217 312.9);
Tailwind
colors: {
  custom: {
    50: '#b46fd0',
    500: '#8e29ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e29ba;
$custom-light: #b46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29ba",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 281.793,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.2167,
    "h": 312.9
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#8E29BA
secondary
#8FCA75
accent
#E74173
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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