#8728CC#8728CC

#8728CC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 51.0% C 0.232 H 305.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8728CC
RGBrgb(135, 40, 204)
HSLhsl(275, 67%, 48%)
HSVhsv(275, 80%, 80%)
CMYKcmyk(33.8%, 80.4%, 0%, 20%)
CIE-LABlab(39.63, 65.57, -66.31)
CIE-LCHlch(39.63, 93.25, 314.68°)
OKLaboklab(50.95% 0.1346 -0.189)
OKLCHoklch(50.95% 0.232 305.5)
XYZxyz(21.6471, 11.0283, 58.1033)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728CC #6DCC28
analogous
#3528CC #8728CC #CC28BF
triadic
#8728CC #CC8728 #28CC87
tetradic
#8728CC #CC3528 #6DCC28 #28BFCC
square
#8728CC #CC3528 #6DCC28 #28BFCC
split-complementary
#8728CC #BFCC28 #28CC35
monochromatic
#431466 #651E99 #8728CC #A454DD #BF87E7

Accessibility & contrast

On white

6.55
#8728CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8728CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8728CC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728CC#FFFFFF#000000##FFFFFF
##8728CC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8728cc;
/* rgb */ color: rgb(135, 40, 204);
/* oklch */ color: oklch(51.0% 0.232 305.5);
Tailwind
colors: {
  custom: {
    50: '#b06edd',
    500: '#8728cc',
    950: '#000000',
  },
}
SCSS
$custom: #8728cc;
$custom-light: #b06edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8728cc",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 274.756,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50954,
    "c": 0.23199,
    "h": 305.5
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#8728CC
secondary
#A1D17F
accent
#EA3E86
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8728CC

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

Preview Lab → · Contrast checker → · Palette generator →

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