#8E29C6#8E29C6

#8E29C6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.227 H 309.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8E29C6
RGBrgb(142, 41, 198)
HSLhsl(279, 66%, 47%)
HSVhsv(279, 79%, 78%)
CMYKcmyk(28.3%, 79.3%, 0%, 22.4%)
CIE-LABlab(40.27, 65.10, -61.73)
CIE-LCHlch(40.27, 89.72, 316.52°)
OKLaboklab(51.46% 0.1449 -0.1753)
OKLCHoklch(51.46% 0.227 309.6)
XYZxyz(22.1393, 11.4143, 54.4520)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E29C6 #61C629
analogous
#4029C6 #8E29C6 #C629AF
triadic
#8E29C6 #C68E29 #29C68E
tetradic
#8E29C6 #C64029 #61C629 #29AFC6
square
#8E29C6 #C64029 #61C629 #29AFC6
split-complementary
#8E29C6 #AFC629 #29C640
monochromatic
#451461 #6A1F93 #8E29C6 #AA51DB #C384E6

Accessibility & contrast

On white

6.40
#8E29C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8E29C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E29C6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E29C6#FFFFFF#000000##FFFFFF
##8E29C61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#865178
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e29c6;
/* rgb */ color: rgb(142, 41, 198);
/* oklch */ color: oklch(51.5% 0.227 309.6);
Tailwind
colors: {
  custom: {
    50: '#b56fd8',
    500: '#8e29c6',
    950: '#000000',
  },
}
SCSS
$custom: #8e29c6;
$custom-light: #b56fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e29c6",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 278.599,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.22739,
    "h": 309.6
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#8E29C6
secondary
#9ACF7C
accent
#E93F7C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8E29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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