#8727BA#8727BA

#8727BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.5% C 0.217 H 310.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8727BA
RGBrgb(135, 39, 186)
HSLhsl(279, 65%, 44%)
HSVhsv(279, 79%, 73%)
CMYKcmyk(27.4%, 79%, 0%, 27.1%)
CIE-LABlab(38.11, 62.08, -58.26)
CIE-LCHlch(38.11, 85.13, 316.81°)
OKLaboklab(49.45% 0.1398 -0.1653)
OKLCHoklch(49.45% 0.217 310.2)
XYZxyz(19.5784, 10.1475, 47.3722)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727BA #5ABA27
analogous
#3E27BA #8727BA #BA27A4
triadic
#8727BA #BA8727 #27BA87
tetradic
#8727BA #BA3E27 #5ABA27 #27A4BA
square
#8727BA #BA3E27 #5ABA27 #27A4BA
split-complementary
#8727BA #A4BA27 #27BA3E
monochromatic
#3E1255 #621C87 #8727BA #A546D8 #BE79E3

Accessibility & contrast

On white

6.93
#8727BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8727BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8727BA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727BA#FFFFFF#000000##FFFFFF
##8727BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#804C71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8727ba;
/* rgb */ color: rgb(135, 39, 186);
/* oklch */ color: oklch(49.5% 0.217 310.2);
Tailwind
colors: {
  custom: {
    50: '#af6dd0',
    500: '#8727ba',
    950: '#000000',
  },
}
SCSS
$custom: #8727ba;
$custom-light: #af6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8727ba",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 279.184,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.21652,
    "h": 310.2
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#8727BA
secondary
#91CB72
accent
#E8407A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8727BA

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

Preview Lab → · Contrast checker → · Palette generator →

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