#8729C5#8729C5

#8729C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.225 H 307.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8729C5
RGBrgb(135, 41, 197)
HSLhsl(276, 66%, 47%)
HSVhsv(276, 79%, 77%)
CMYKcmyk(31.5%, 79.2%, 0%, 22.7%)
CIE-LABlab(39.19, 63.72, -62.96)
CIE-LCHlch(39.19, 89.58, 315.35°)
OKLaboklab(50.47% 0.1357 -0.1791)
OKLCHoklch(50.47% 0.225 307.1)
XYZxyz(20.8605, 10.7683, 53.7920)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729C5 #67C529
analogous
#3929C5 #8729C5 #C529B5
triadic
#8729C5 #C58729 #29C587
tetradic
#8729C5 #C53929 #67C529 #29B5C5
square
#8729C5 #C53929 #67C529 #29B5C5
split-complementary
#8729C5 #B5C529 #29C539
monochromatic
#421460 #641E92 #8729C5 #A451DB #BE83E5

Accessibility & contrast

On white

6.66
#8729C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8729C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729C5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729C5#FFFFFF#000000##FFFFFF
##8729C51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#7C5278
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8729c5;
/* rgb */ color: rgb(135, 41, 197);
/* oklch */ color: oklch(50.5% 0.225 307.1);
Tailwind
colors: {
  custom: {
    50: '#b06ed8',
    500: '#8729c5',
    950: '#000000',
  },
}
SCSS
$custom: #8729c5;
$custom-light: #b06ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8729c5",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 276.154,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.22469,
    "h": 307.1
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#8729C5
secondary
#9CCE7C
accent
#E83F83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8729C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8729C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva