#8E29A5#8E29A5

#8E29A5 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 319.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8E29A5
RGBrgb(142, 41, 165)
HSLhsl(289, 60%, 40%)
HSVhsv(289, 75%, 65%)
CMYKcmyk(13.9%, 75.2%, 0%, 35.3%)
CIE-LABlab(37.94, 58.51, -45.99)
CIE-LCHlch(37.94, 74.42, 321.83°)
OKLaboklab(49.09% 0.1505 -0.1291)
OKLCHoklch(49.09% 0.198 319.4)
XYZxyz(18.7389, 10.0542, 36.5436)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29A5 #40A529
analogous
#5029A5 #8E29A5 #A5297E
triadic
#8E29A5 #A58E29 #29A58E
tetradic
#8E29A5 #A55029 #40A529 #297EA5
square
#8E29A5 #A55029 #40A529 #297EA5
split-complementary
#8E29A5 #7EA529 #29A550
monochromatic
#3A1143 #641D74 #8E29A5 #B43DCF #C76EDB

Accessibility & contrast

On white

6.98
#8E29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E29A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29A5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29A5#FFFFFF#000000##FFFFFF
##8E29A51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#8E4265
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e29a5;
/* rgb */ color: rgb(142, 41, 165);
/* oklch */ color: oklch(49.1% 0.198 319.4);
Tailwind
colors: {
  custom: {
    50: '#b36ec0',
    500: '#8e29a5',
    950: '#000000',
  },
}
SCSS
$custom: #8e29a5;
$custom-light: #b36ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29a5",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 288.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.19824,
    "h": 319.4
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#8E29A5
secondary
#79C268
accent
#E34462
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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