#8727BB#8727BB

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

Color values

HEX#8727BB
RGBrgb(135, 39, 187)
HSLhsl(279, 65%, 44%)
HSVhsv(279, 79%, 73%)
CMYKcmyk(27.8%, 79.1%, 0%, 26.7%)
CIE-LABlab(38.18, 62.28, -58.73)
CIE-LCHlch(38.18, 85.61, 316.68°)
OKLaboklab(49.53% 0.1396 -0.1667)
OKLCHoklch(49.53% 0.217 309.9)
XYZxyz(19.6850, 10.1902, 47.9340)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727BB #5BBB27
analogous
#3D27BB #8727BB #BB27A5
triadic
#8727BB #BB8727 #27BB87
tetradic
#8727BB #BB3D27 #5BBB27 #27A5BB
square
#8727BB #BB3D27 #5BBB27 #27A5BB
split-complementary
#8727BB #A5BB27 #27BB3D
monochromatic
#3E1256 #621C88 #8727BB #A547D9 #BE79E3

Accessibility & contrast

On white

6.91
#8727BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8727BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8727BB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727BB#FFFFFF#000000##FFFFFF
##8727BB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#7F4C71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8727bb;
/* rgb */ color: rgb(135, 39, 187);
/* oklch */ color: oklch(49.5% 0.217 309.9);
Tailwind
colors: {
  custom: {
    50: '#af6dd0',
    500: '#8727bb',
    950: '#000000',
  },
}
SCSS
$custom: #8727bb;
$custom-light: #af6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8727bb",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 278.919,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.21742,
    "h": 309.9
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#8727BB
secondary
#92CB73
accent
#E83F7B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8727BB

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

Preview Lab → · Contrast checker → · Palette generator →

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