#8727B2#8727B2

#8727B2 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.209 H 312.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8727B2
RGBrgb(135, 39, 178)
HSLhsl(281, 64%, 43%)
HSVhsv(281, 78%, 70%)
CMYKcmyk(24.2%, 78.1%, 0%, 30.2%)
CIE-LABlab(37.51, 60.42, -54.49)
CIE-LCHlch(37.51, 81.36, 317.95°)
OKLaboklab(48.85% 0.1415 -0.1542)
OKLCHoklch(48.85% 0.209 312.5)
XYZxyz(18.7516, 9.8168, 43.0179)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727B2 #52B227
analogous
#4227B2 #8727B2 #B22797
triadic
#8727B2 #B28727 #27B287
tetradic
#8727B2 #B24227 #52B227 #2797B2
square
#8727B2 #B24227 #52B227 #2797B2
split-complementary
#8727B2 #97B227 #27B242
monochromatic
#3B114E #611C80 #8727B2 #A741D5 #BF73E0

Accessibility & contrast

On white

7.09
#8727B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8727B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727B2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727B2#FFFFFF#000000##FFFFFF
##8727B21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0F5AAF
Tritanopia (blue-blind)
#82486C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8727b2;
/* rgb */ color: rgb(135, 39, 178);
/* oklch */ color: oklch(48.8% 0.209 312.5);
Tailwind
colors: {
  custom: {
    50: '#af6dca',
    500: '#8727b2',
    950: '#000000',
  },
}
SCSS
$custom: #8727b2;
$custom-light: #af6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8727b2",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 281.439,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48849,
    "c": 0.2093,
    "h": 312.5
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#8727B2
secondary
#89C86D
accent
#E74174
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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