#8729BB#8729BB

#8729BB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 309.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8729BB
RGBrgb(135, 41, 187)
HSLhsl(279, 64%, 45%)
HSVhsv(279, 78%, 73%)
CMYKcmyk(27.8%, 78.1%, 0%, 26.7%)
CIE-LABlab(38.42, 61.60, -58.34)
CIE-LCHlch(38.42, 84.84, 316.55°)
OKLaboklab(49.7% 0.138 -0.1655)
OKLCHoklch(49.7% 0.216 309.8)
XYZxyz(19.7525, 10.3250, 47.9565)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729BB #5DBB29
analogous
#3E29BB #8729BB #BB29A6
triadic
#8729BB #BB8729 #29BB87
tetradic
#8729BB #BB3E29 #5DBB29 #29A6BB
square
#8729BB #BB3E29 #5DBB29 #29A6BB
split-complementary
#8729BB #A6BB29 #29BB3E
monochromatic
#3F1357 #631E89 #8729BB #A54AD7 #BE7CE2

Accessibility & contrast

On white

6.85
#8729BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8729BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729BB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729BB#FFFFFF#000000##FFFFFF
##8729BB1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#7F4D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8729bb;
/* rgb */ color: rgb(135, 41, 187);
/* oklch */ color: oklch(49.7% 0.216 309.8);
Tailwind
colors: {
  custom: {
    50: '#af6ed0',
    500: '#8729bb',
    950: '#000000',
  },
}
SCSS
$custom: #8729bb;
$custom-light: #af6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8729bb",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 278.63,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.21552,
    "h": 309.8
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#8729BB
secondary
#94CB75
accent
#E7417C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8729BB

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

Preview Lab → · Contrast checker → · Palette generator →

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