#8727AF#8727AF

#8727AF is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.207 H 313.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8727AF
RGBrgb(135, 39, 175)
HSLhsl(282, 64%, 42%)
HSVhsv(282, 78%, 69%)
CMYKcmyk(22.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(37.29, 59.81, -53.06)
CIE-LCHlch(37.29, 79.95, 318.42°)
OKLaboklab(48.63% 0.1421 -0.15)
OKLCHoklch(48.63% 0.207 313.4)
XYZxyz(18.4537, 9.6977, 41.4489)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AF #4FAF27
analogous
#4327AF #8727AF #AF2793
triadic
#8727AF #AF8727 #27AF87
tetradic
#8727AF #AF4327 #4FAF27 #2793AF
square
#8727AF #AF4327 #4FAF27 #2793AF
split-complementary
#8727AF #93AF27 #27AF43
monochromatic
#3A114B #601C7D #8727AF #A83FD4 #BF71DF

Accessibility & contrast

On white

7.14
#8727AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8727AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727AF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727AF#FFFFFF#000000##FFFFFF
##8727AF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#83476A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8727af;
/* rgb */ color: rgb(135, 39, 175);
/* oklch */ color: oklch(48.6% 0.207 313.4);
Tailwind
colors: {
  custom: {
    50: '#ae6cc8',
    500: '#8727af',
    950: '#000000',
  },
}
SCSS
$custom: #8727af;
$custom-light: #ae6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8727af",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 282.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.20661,
    "h": 313.4
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#8727AF
secondary
#86C66B
accent
#E74172
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727AF

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

Preview Lab → · Contrast checker → · Palette generator →

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