#8729BA#8729BA

#8729BA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.215 H 310.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8729BA
RGBrgb(135, 41, 186)
HSLhsl(279, 64%, 45%)
HSVhsv(279, 78%, 73%)
CMYKcmyk(27.4%, 78%, 0%, 27.1%)
CIE-LABlab(38.34, 61.39, -57.87)
CIE-LCHlch(38.34, 84.37, 316.69°)
OKLaboklab(49.62% 0.1382 -0.1642)
OKLCHoklch(49.62% 0.215 310.1)
XYZxyz(19.6458, 10.2824, 47.3946)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729BA #5CBA29
analogous
#3F29BA #8729BA #BA29A4
triadic
#8729BA #BA8729 #29BA87
tetradic
#8729BA #BA3F29 #5CBA29 #29A4BA
square
#8729BA #BA3F29 #5CBA29 #29A4BA
split-complementary
#8729BA #A4BA29 #29BA3F
monochromatic
#3E1356 #631E88 #8729BA #A549D7 #BE7BE2

Accessibility & contrast

On white

6.87
#8729BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8729BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729BA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729BA#FFFFFF#000000##FFFFFF
##8729BA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#804D71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8729ba;
/* rgb */ color: rgb(135, 41, 186);
/* oklch */ color: oklch(49.6% 0.215 310.1);
Tailwind
colors: {
  custom: {
    50: '#af6ed0',
    500: '#8729ba',
    950: '#000000',
  },
}
SCSS
$custom: #8729ba;
$custom-light: #af6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8729ba",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 278.897,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.2146,
    "h": 310.1
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#8729BA
secondary
#93CA75
accent
#E7417B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8729BA

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

Preview Lab → · Contrast checker → · Palette generator →

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