#8729B7#8729B7

#8729B7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.212 H 310.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8729B7
RGBrgb(135, 41, 183)
HSLhsl(280, 63%, 44%)
HSVhsv(280, 78%, 72%)
CMYKcmyk(26.2%, 77.6%, 0%, 28.2%)
CIE-LABlab(38.12, 60.76, -56.47)
CIE-LCHlch(38.12, 82.95, 317.10°)
OKLaboklab(49.39% 0.1388 -0.16)
OKLCHoklch(49.39% 0.212 310.9)
XYZxyz(19.3302, 10.1561, 45.7326)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729B7 #59B729
analogous
#4029B7 #8729B7 #B729A0
triadic
#8729B7 #B78729 #29B787
tetradic
#8729B7 #B74029 #59B729 #29A0B7
square
#8729B7 #B74029 #59B729 #29A0B7
split-complementary
#8729B7 #A0B729 #29B740
monochromatic
#3D1353 #621E85 #8729B7 #A647D6 #BE79E1

Accessibility & contrast

On white

6.93
#8729B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8729B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729B7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729B7#FFFFFF#000000##FFFFFF
##8729B71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#814C6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8729b7;
/* rgb */ color: rgb(135, 41, 183);
/* oklch */ color: oklch(49.4% 0.212 310.9);
Tailwind
colors: {
  custom: {
    50: '#af6ecd',
    500: '#8729b7',
    950: '#000000',
  },
}
SCSS
$custom: #8729b7;
$custom-light: #af6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8729b7",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 279.718,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.21186,
    "h": 310.9
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#8729B7
secondary
#90C973
accent
#E64179
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8729B7

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

Preview Lab → · Contrast checker → · Palette generator →

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