#8C29C5#8C29C5

#8C29C5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.226 H 309.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8C29C5
RGBrgb(140, 41, 197)
HSLhsl(278, 66%, 47%)
HSVhsv(278, 79%, 77%)
CMYKcmyk(28.9%, 79.2%, 0%, 22.7%)
CIE-LABlab(39.90, 64.55, -61.76)
CIE-LCHlch(39.90, 89.34, 316.27°)
OKLaboklab(51.12% 0.1424 -0.1754)
OKLCHoklch(51.12% 0.226 309.1)
XYZxyz(21.6841, 11.1930, 53.8306)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C29C5 #62C529
analogous
#3E29C5 #8C29C5 #C529B0
triadic
#8C29C5 #C58C29 #29C58C
tetradic
#8C29C5 #C53E29 #62C529 #29B0C5
square
#8C29C5 #C53E29 #62C529 #29B0C5
split-complementary
#8C29C5 #B0C529 #29C53E
monochromatic
#441460 #681E92 #8C29C5 #A851DB #C183E5

Accessibility & contrast

On white

6.48
#8C29C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8C29C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C29C5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C29C5#FFFFFF#000000##FFFFFF
##8C29C51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#835178
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c29c5;
/* rgb */ color: rgb(140, 41, 197);
/* oklch */ color: oklch(51.1% 0.226 309.1);
Tailwind
colors: {
  custom: {
    50: '#b36fd8',
    500: '#8c29c5',
    950: '#000000',
  },
}
SCSS
$custom: #8c29c5;
$custom-light: #b36fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c29c5",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 278.077,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.22596,
    "h": 309.1
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#8C29C5
secondary
#9ACE7C
accent
#E83F7D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8C29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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