#8F27AA#8F27AA

#8F27AA is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.205 H 318.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8F27AA
RGBrgb(143, 39, 170)
HSLhsl(288, 63%, 41%)
HSVhsv(288, 77%, 67%)
CMYKcmyk(15.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(38.19, 60.35, -48.58)
CIE-LCHlch(38.19, 77.47, 321.17°)
OKLaboklab(49.4% 0.1529 -0.1366)
OKLCHoklch(49.4% 0.205 318.2)
XYZxyz(19.3079, 10.1939, 38.9730)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F27AA #42AA27
analogous
#4E27AA #8F27AA #AA2783
triadic
#8F27AA #AA8F27 #27AA8F
tetradic
#8F27AA #AA4E27 #42AA27 #2783AA
square
#8F27AA #AA4E27 #42AA27 #2783AA
split-complementary
#8F27AA #83AA27 #27AA4E
monochromatic
#3B1046 #651C78 #8F27AA #B33CD2 #C76EDE

Accessibility & contrast

On white

6.91
#8F27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F27AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F27AA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F27AA#FFFFFF#000000##FFFFFF
##8F27AA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#8E4368
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f27aa;
/* rgb */ color: rgb(143, 39, 170);
/* oklch */ color: oklch(49.4% 0.205 318.2);
Tailwind
colors: {
  custom: {
    50: '#b46dc4',
    500: '#8f27aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f27aa;
$custom-light: #b46dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f27aa",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 287.634,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.20503,
    "h": 318.2
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#8F27AA
secondary
#7BC469
accent
#E64264
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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