#8E29BB#8E29BB

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

Color values

HEX#8E29BB
RGBrgb(142, 41, 187)
HSLhsl(282, 64%, 45%)
HSVhsv(282, 78%, 73%)
CMYKcmyk(24.1%, 78.1%, 0%, 26.7%)
CIE-LABlab(39.45, 62.84, -56.62)
CIE-LCHlch(39.45, 84.59, 317.98°)
OKLaboklab(50.64% 0.1472 -0.1602)
OKLCHoklch(50.64% 0.218 312.6)
XYZxyz(20.9163, 10.9251, 48.0110)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29BB #56BB29
analogous
#4529BB #8E29BB #BB299F
triadic
#8E29BB #BB8E29 #29BB8E
tetradic
#8E29BB #BB4529 #56BB29 #299FBB
square
#8E29BB #BB4529 #56BB29 #299FBB
split-complementary
#8E29BB #9FBB29 #29BB45
monochromatic
#421357 #681E89 #8E29BB #AC4AD7 #C37CE2

Accessibility & contrast

On white

6.59
#8E29BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E29BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29BB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29BB#FFFFFF#000000##FFFFFF
##8E29BB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#894C72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e29bb;
/* rgb */ color: rgb(142, 41, 187);
/* oklch */ color: oklch(50.6% 0.218 312.6);
Tailwind
colors: {
  custom: {
    50: '#b46fd0',
    500: '#8e29bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e29bb;
$custom-light: #b46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29bb",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 281.507,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.21758,
    "h": 312.6
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#8E29BB
secondary
#90CB75
accent
#E74174
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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