#8C29BD#8C29BD

#8C29BD is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.219 H 311.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8C29BD
RGBrgb(140, 41, 189)
HSLhsl(280, 64%, 45%)
HSVhsv(280, 78%, 74%)
CMYKcmyk(25.9%, 78.3%, 0%, 25.9%)
CIE-LABlab(39.30, 62.89, -58.05)
CIE-LCHlch(39.30, 85.59, 317.29°)
OKLaboklab(50.51% 0.1442 -0.1645)
OKLCHoklch(50.51% 0.219 311.2)
XYZxyz(20.7917, 10.8360, 49.1305)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C29BD #5ABD29
analogous
#4229BD #8C29BD #BD29A4
triadic
#8C29BD #BD8C29 #29BD8C
tetradic
#8C29BD #BD4229 #5ABD29 #29A4BD
square
#8C29BD #BD4229 #5ABD29 #29A4BD
split-complementary
#8C29BD #A4BD29 #29BD42
monochromatic
#411358 #671E8B #8C29BD #A94BD8 #C17DE3

Accessibility & contrast

On white

6.63
#8C29BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8C29BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C29BD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C29BD#FFFFFF#000000##FFFFFF
##8C29BD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#864D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8c29bd;
/* rgb */ color: rgb(140, 41, 189);
/* oklch */ color: oklch(50.5% 0.219 311.2);
Tailwind
colors: {
  custom: {
    50: '#b36fd2',
    500: '#8c29bd',
    950: '#000000',
  },
}
SCSS
$custom: #8c29bd;
$custom-light: #b36fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c29bd",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 280.135,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.21876,
    "h": 311.2
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#8C29BD
secondary
#93CB77
accent
#E74078
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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