#8729CC#8729CC

#8729CC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.231 H 305.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8729CC
RGBrgb(135, 41, 204)
HSLhsl(275, 67%, 48%)
HSVhsv(275, 80%, 80%)
CMYKcmyk(33.8%, 79.9%, 0%, 20%)
CIE-LABlab(39.74, 65.23, -66.12)
CIE-LCHlch(39.74, 92.89, 314.61°)
OKLaboklab(51.03% 0.1339 -0.1884)
OKLCHoklch(51.03% 0.231 305.4)
XYZxyz(21.6812, 11.0966, 58.1147)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729CC #6ECC29
analogous
#3529CC #8729CC #CC29C0
triadic
#8729CC #CC8729 #29CC87
tetradic
#8729CC #CC3529 #6ECC29 #29C0CC
square
#8729CC #CC3529 #6ECC29 #29C0CC
split-complementary
#8729CC #C0CC29 #29CC35
monochromatic
#441566 #651F99 #8729CC #A355DD #BF88E7

Accessibility & contrast

On white

6.52
#8729CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8729CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8729CC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729CC#FFFFFF#000000##FFFFFF
##8729CC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#7A557C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8729cc;
/* rgb */ color: rgb(135, 41, 204);
/* oklch */ color: oklch(51.0% 0.231 305.4);
Tailwind
colors: {
  custom: {
    50: '#b06fdd',
    500: '#8729cc',
    950: '#000000',
  },
}
SCSS
$custom: #8729cc;
$custom-light: #b06fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8729cc",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 204
  },
  "hsl": {
    "h": 274.601,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.23113,
    "h": 305.4
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#8729CC
secondary
#A2D180
accent
#E93E87
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8729CC

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

Preview Lab → · Contrast checker → · Palette generator →

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