#8727B7#8727B7

#8727B7 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.214 H 311.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8727B7
RGBrgb(135, 39, 183)
HSLhsl(280, 65%, 44%)
HSVhsv(280, 79%, 72%)
CMYKcmyk(26.2%, 78.7%, 0%, 28.2%)
CIE-LABlab(37.88, 61.45, -56.86)
CIE-LCHlch(37.88, 83.72, 317.22°)
OKLaboklab(49.23% 0.1405 -0.1612)
OKLCHoklch(49.23% 0.214 311.1)
XYZxyz(19.2628, 10.0213, 45.7101)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727B7 #57B727
analogous
#3F27B7 #8727B7 #B7279F
triadic
#8727B7 #B78727 #27B787
tetradic
#8727B7 #B73F27 #57B727 #279FB7
square
#8727B7 #B73F27 #57B727 #279FB7
split-complementary
#8727B7 #9FB727 #27B73F
monochromatic
#3D1152 #621C85 #8727B7 #A644D7 #BE76E2

Accessibility & contrast

On white

6.99
#8727B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8727B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8727B7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727B7#FFFFFF#000000##FFFFFF
##8727B71.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#814B6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8727b7;
/* rgb */ color: rgb(135, 39, 183);
/* oklch */ color: oklch(49.2% 0.214 311.1);
Tailwind
colors: {
  custom: {
    50: '#af6dcd',
    500: '#8727b7',
    950: '#000000',
  },
}
SCSS
$custom: #8727b7;
$custom-light: #af6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8727b7",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 280,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.21381,
    "h": 311.1
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#8727B7
secondary
#8EC970
accent
#E84078
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8727B7

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

Preview Lab → · Contrast checker → · Palette generator →

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