#8727BC#8727BC

#8727BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.6% C 0.218 H 309.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8727BC
RGBrgb(135, 39, 188)
HSLhsl(279, 66%, 45%)
HSVhsv(279, 79%, 74%)
CMYKcmyk(28.2%, 79.3%, 0%, 26.3%)
CIE-LABlab(38.26, 62.49, -59.19)
CIE-LCHlch(38.26, 86.08, 316.55°)
OKLaboklab(49.61% 0.1394 -0.168)
OKLCHoklch(49.61% 0.218 309.7)
XYZxyz(19.7925, 10.2332, 48.4998)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727BC #5CBC27
analogous
#3D27BC #8727BC #BC27A7
triadic
#8727BC #BC8727 #27BC87
tetradic
#8727BC #BC3D27 #5CBC27 #27A7BC
square
#8727BC #BC3D27 #5CBC27 #27A7BC
split-complementary
#8727BC #A7BC27 #27BC3D
monochromatic
#3E1257 #631C89 #8727BC #A547D9 #BE7AE3

Accessibility & contrast

On white

6.89
#8727BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8727BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8727BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727BC#FFFFFF#000000##FFFFFF
##8727BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#7F4D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8727bc;
/* rgb */ color: rgb(135, 39, 188);
/* oklch */ color: oklch(49.6% 0.218 309.7);
Tailwind
colors: {
  custom: {
    50: '#af6dd1',
    500: '#8727bc',
    950: '#000000',
  },
}
SCSS
$custom: #8727bc;
$custom-light: #af6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8727bc",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 278.658,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.21831,
    "h": 309.7
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#8727BC
secondary
#93CB73
accent
#E93F7B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8727BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8727BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva