#8E29B2#8E29B2

#8E29B2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.210 H 315.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8E29B2
RGBrgb(142, 41, 178)
HSLhsl(284, 63%, 43%)
HSVhsv(284, 77%, 70%)
CMYKcmyk(20.2%, 77%, 0%, 30.2%)
CIE-LABlab(38.82, 61.04, -52.33)
CIE-LCHlch(38.82, 80.40, 319.39°)
OKLaboklab(49.98% 0.1488 -0.1477)
OKLCHoklch(49.98% 0.21 315.2)
XYZxyz(19.9828, 10.5518, 43.0949)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29B2 #4DB229
analogous
#4A29B2 #8E29B2 #B22991
triadic
#8E29B2 #B28E29 #29B28E
tetradic
#8E29B2 #B24A29 #4DB229 #2991B2
square
#8E29B2 #B24A29 #4DB229 #2991B2
split-complementary
#8E29B2 #91B229 #29B24A
monochromatic
#3F124F #661E80 #8E29B2 #AE44D4 #C476DF

Accessibility & contrast

On white

6.75
#8E29B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E29B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29B2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29B2#FFFFFF#000000##FFFFFF
##8E29B21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#8B486D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e29b2;
/* rgb */ color: rgb(142, 41, 178);
/* oklch */ color: oklch(50.0% 0.210 315.2);
Tailwind
colors: {
  custom: {
    50: '#b36eca',
    500: '#8e29b2',
    950: '#000000',
  },
}
SCSS
$custom: #8e29b2;
$custom-light: #b36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29b2",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 284.234,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.20962,
    "h": 315.2
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#8E29B2
secondary
#87C770
accent
#E6426D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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