#8729BD#8729BD

#8729BD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.217 H 309.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8729BD
RGBrgb(135, 41, 189)
HSLhsl(278, 64%, 45%)
HSVhsv(278, 78%, 74%)
CMYKcmyk(28.6%, 78.3%, 0%, 25.9%)
CIE-LABlab(38.57, 62.02, -59.27)
CIE-LCHlch(38.57, 85.79, 316.30°)
OKLaboklab(49.85% 0.1376 -0.1683)
OKLCHoklch(49.85% 0.217 309.3)
XYZxyz(19.9681, 10.4113, 49.0919)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729BD #5FBD29
analogous
#3D29BD #8729BD #BD29A9
triadic
#8729BD #BD8729 #29BD87
tetradic
#8729BD #BD3D29 #5FBD29 #29A9BD
square
#8729BD #BD3D29 #5FBD29 #29A9BD
split-complementary
#8729BD #A9BD29 #29BD3D
monochromatic
#3F1358 #631E8B #8729BD #A54BD8 #BE7DE3

Accessibility & contrast

On white

6.81
#8729BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8729BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729BD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729BD#FFFFFF#000000##FFFFFF
##8729BD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#7F4E73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8729bd;
/* rgb */ color: rgb(135, 41, 189);
/* oklch */ color: oklch(49.9% 0.217 309.3);
Tailwind
colors: {
  custom: {
    50: '#af6ed2',
    500: '#8729bd',
    950: '#000000',
  },
}
SCSS
$custom: #8729bd;
$custom-light: #af6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8729bd",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 278.108,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.21735,
    "h": 309.3
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#8729BD
secondary
#95CB77
accent
#E7407D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8729BD

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

Preview Lab → · Contrast checker → · Palette generator →

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