#8728B7#8728B7

#8728B7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.213 H 311.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8728B7
RGBrgb(135, 40, 183)
HSLhsl(280, 64%, 44%)
HSVhsv(280, 78%, 72%)
CMYKcmyk(26.2%, 78.1%, 0%, 28.2%)
CIE-LABlab(38.00, 61.11, -56.66)
CIE-LCHlch(38.00, 83.34, 317.16°)
OKLaboklab(49.31% 0.1397 -0.1606)
OKLCHoklch(49.31% 0.213 311)
XYZxyz(19.2961, 10.0879, 45.7212)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728B7 #58B728
analogous
#3F28B7 #8728B7 #B7289F
triadic
#8728B7 #B78728 #28B787
tetradic
#8728B7 #B73F28 #58B728 #289FB7
square
#8728B7 #B73F28 #58B728 #289FB7
split-complementary
#8728B7 #9FB728 #28B73F
monochromatic
#3D1253 #621D85 #8728B7 #A646D6 #BE78E1

Accessibility & contrast

On white

6.96
#8728B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8728B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8728B7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728B7#FFFFFF#000000##FFFFFF
##8728B71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#814B6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8728b7;
/* rgb */ color: rgb(135, 40, 183);
/* oklch */ color: oklch(49.3% 0.213 311.0);
Tailwind
colors: {
  custom: {
    50: '#af6dcd',
    500: '#8728b7',
    950: '#000000',
  },
}
SCSS
$custom: #8728b7;
$custom-light: #af6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8728b7",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 279.86,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.21285,
    "h": 311
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#8728B7
secondary
#8FC972
accent
#E74179
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8728B7

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

Preview Lab → · Contrast checker → · Palette generator →

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