#8729B8#8729B8

#8729B8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.213 H 310.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8729B8
RGBrgb(135, 41, 184)
HSLhsl(279, 64%, 44%)
HSVhsv(279, 78%, 72%)
CMYKcmyk(26.6%, 77.7%, 0%, 27.8%)
CIE-LABlab(38.20, 60.97, -56.94)
CIE-LCHlch(38.20, 83.42, 316.96°)
OKLaboklab(49.47% 0.1386 -0.1614)
OKLCHoklch(49.47% 0.213 310.7)
XYZxyz(19.4347, 10.1979, 46.2827)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729B8 #5AB829
analogous
#4029B8 #8729B8 #B829A2
triadic
#8729B8 #B88729 #29B887
tetradic
#8729B8 #B84029 #5AB829 #29A2B8
square
#8729B8 #B84029 #5AB829 #29A2B8
split-complementary
#8729B8 #A2B829 #29B840
monochromatic
#3E1354 #621E86 #8729B8 #A548D6 #BE7AE1

Accessibility & contrast

On white

6.91
#8729B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8729B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729B8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729B8#FFFFFF#000000##FFFFFF
##8729B81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#804C70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8729b8;
/* rgb */ color: rgb(135, 41, 184);
/* oklch */ color: oklch(49.5% 0.213 310.7);
Tailwind
colors: {
  custom: {
    50: '#af6ece',
    500: '#8729b8',
    950: '#000000',
  },
}
SCSS
$custom: #8729b8;
$custom-light: #af6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#8729b8",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 279.441,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.21278,
    "h": 310.7
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#8729B8
secondary
#91C973
accent
#E7417A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8729B8

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

Preview Lab → · Contrast checker → · Palette generator →

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