#8E29A7#8E29A7

#8E29A7 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.200 H 318.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8E29A7
RGBrgb(142, 41, 167)
HSLhsl(288, 61%, 41%)
HSVhsv(288, 75%, 65%)
CMYKcmyk(15%, 75.4%, 0%, 34.5%)
CIE-LABlab(38.07, 58.89, -46.98)
CIE-LCHlch(38.07, 75.33, 321.42°)
OKLaboklab(49.22% 0.1503 -0.132)
OKLCHoklch(49.22% 0.2 318.7)
XYZxyz(18.9224, 10.1276, 37.5098)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29A7 #42A729
analogous
#4F29A7 #8E29A7 #A72981
triadic
#8E29A7 #A78E29 #29A78E
tetradic
#8E29A7 #A74F29 #42A729 #2981A7
square
#8E29A7 #A74F29 #42A729 #2981A7
split-complementary
#8E29A7 #81A729 #29A74F
monochromatic
#3A1145 #641D76 #8E29A7 #B33ED0 #C66FDC

Accessibility & contrast

On white

6.94
#8E29A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8E29A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29A7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29A7#FFFFFF#000000##FFFFFF
##8E29A71.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#8E4366
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e29a7;
/* rgb */ color: rgb(142, 41, 167);
/* oklch */ color: oklch(49.2% 0.200 318.7);
Tailwind
colors: {
  custom: {
    50: '#b36ec2',
    500: '#8e29a7',
    950: '#000000',
  },
}
SCSS
$custom: #8e29a7;
$custom-light: #b36ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29a7",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 288.095,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.19998,
    "h": 318.7
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#8E29A7
secondary
#7BC269
accent
#E44464
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8E29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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