#8727B4#8727B4

#8727B4 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.211 H 311.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8727B4
RGBrgb(135, 39, 180)
HSLhsl(281, 64%, 43%)
HSVhsv(281, 78%, 71%)
CMYKcmyk(25%, 78.3%, 0%, 29.4%)
CIE-LABlab(37.66, 60.83, -55.44)
CIE-LCHlch(37.66, 82.31, 317.65°)
OKLaboklab(49% 0.1411 -0.157)
OKLCHoklch(49% 0.211 311.9)
XYZxyz(18.9539, 9.8978, 44.0832)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727B4 #54B427
analogous
#4027B4 #8727B4 #B4279A
triadic
#8727B4 #B48727 #27B487
tetradic
#8727B4 #B44027 #54B427 #279AB4
square
#8727B4 #B44027 #54B427 #279AB4
split-complementary
#8727B4 #9AB427 #27B440
monochromatic
#3C114F #611C82 #8727B4 #A742D6 #BE74E1

Accessibility & contrast

On white

7.05
#8727B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8727B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727B4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727B4#FFFFFF#000000##FFFFFF
##8727B41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#81496D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8727b4;
/* rgb */ color: rgb(135, 39, 180);
/* oklch */ color: oklch(49.0% 0.211 311.9);
Tailwind
colors: {
  custom: {
    50: '#af6dcb',
    500: '#8727b4',
    950: '#000000',
  },
}
SCSS
$custom: #8727b4;
$custom-light: #af6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8727b4",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 280.851,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48999,
    "c": 0.2111,
    "h": 311.9
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#8727B4
secondary
#8BC86F
accent
#E74076
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8727B4

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

Preview Lab → · Contrast checker → · Palette generator →

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