#8728B4#8728B4

#8728B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.210 H 311.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8728B4
RGBrgb(135, 40, 180)
HSLhsl(281, 64%, 43%)
HSVhsv(281, 78%, 71%)
CMYKcmyk(25%, 77.8%, 0%, 29.4%)
CIE-LABlab(37.78, 60.48, -55.25)
CIE-LCHlch(37.78, 81.92, 317.59°)
OKLaboklab(49.08% 0.1403 -0.1564)
OKLCHoklch(49.08% 0.21 311.9)
XYZxyz(18.9871, 9.9643, 44.0943)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728B4 #55B428
analogous
#4128B4 #8728B4 #B4289B
triadic
#8728B4 #B48728 #28B487
tetradic
#8728B4 #B44128 #55B428 #289BB4
square
#8728B4 #B44128 #55B428 #289BB4
split-complementary
#8728B4 #9BB428 #28B441
monochromatic
#3C1250 #611D82 #8728B4 #A744D5 #BE76E1

Accessibility & contrast

On white

7.02
#8728B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8728B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728B4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728B4#FFFFFF#000000##FFFFFF
##8728B41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0B5BB1
Tritanopia (blue-blind)
#814A6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8728b4;
/* rgb */ color: rgb(135, 40, 180);
/* oklch */ color: oklch(49.1% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#af6dcb',
    500: '#8728b4',
    950: '#000000',
  },
}
SCSS
$custom: #8728b4;
$custom-light: #af6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8728b4",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 280.714,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.21012,
    "h": 311.9
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#8728B4
secondary
#8CC870
accent
#E74176
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8728B4

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

Preview Lab → · Contrast checker → · Palette generator →

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