#8F27AC#8F27AC

#8F27AC is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.207 H 317.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F27AC
RGBrgb(143, 39, 172)
HSLhsl(287, 63%, 41%)
HSVhsv(287, 77%, 67%)
CMYKcmyk(16.9%, 77.3%, 0%, 32.5%)
CIE-LABlab(38.32, 60.74, -49.55)
CIE-LCHlch(38.32, 78.39, 320.79°)
OKLaboklab(49.54% 0.1526 -0.1395)
OKLCHoklch(49.54% 0.207 317.6)
XYZxyz(19.4985, 10.2701, 39.9770)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F27AC #44AC27
analogous
#4D27AC #8F27AC #AC2787
triadic
#8F27AC #AC8F27 #27AC8F
tetradic
#8F27AC #AC4D27 #44AC27 #2787AC
square
#8F27AC #AC4D27 #44AC27 #2787AC
split-complementary
#8F27AC #87AC27 #27AC4D
monochromatic
#3C1048 #661C7A #8F27AC #B23DD3 #C66FDE

Accessibility & contrast

On white

6.88
#8F27AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F27AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F27AC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F27AC#FFFFFF#000000##FFFFFF
##8F27AC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#8E4469
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f27ac;
/* rgb */ color: rgb(143, 39, 172);
/* oklch */ color: oklch(49.5% 0.207 317.6);
Tailwind
colors: {
  custom: {
    50: '#b46dc5',
    500: '#8f27ac',
    950: '#000000',
  },
}
SCSS
$custom: #8f27ac;
$custom-light: #b46dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f27ac",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 286.917,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.20676,
    "h": 317.6
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#8F27AC
secondary
#7EC56A
accent
#E64266
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F27AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8F27AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva