#8F27AE#8F27AE

#8F27AE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.208 H 317.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8F27AE
RGBrgb(143, 39, 174)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 78%, 68%)
CMYKcmyk(17.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(38.46, 61.12, -50.52)
CIE-LCHlch(38.46, 79.30, 320.42°)
OKLaboklab(49.68% 0.1524 -0.1423)
OKLCHoklch(49.68% 0.208 317)
XYZxyz(19.6920, 10.3475, 40.9962)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F27AE #46AE27
analogous
#4C27AE #8F27AE #AE278A
triadic
#8F27AE #AE8F27 #27AE8F
tetradic
#8F27AE #AE4C27 #46AE27 #278AAE
square
#8F27AE #AE4C27 #46AE27 #278AAE
split-complementary
#8F27AE #8AAE27 #27AE4C
monochromatic
#3D114A #661C7C #8F27AE #B23ED4 #C670DF

Accessibility & contrast

On white

6.84
#8F27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8F27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F27AE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F27AE#FFFFFF#000000##FFFFFF
##8F27AE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#295DAB
Tritanopia (blue-blind)
#8D456A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f27ae;
/* rgb */ color: rgb(143, 39, 174);
/* oklch */ color: oklch(49.7% 0.208 317.0);
Tailwind
colors: {
  custom: {
    50: '#b46dc7',
    500: '#8f27ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f27ae;
$custom-light: #b46dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f27ae",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 286.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.20848,
    "h": 317
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#8F27AE
secondary
#80C66B
accent
#E64167
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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