#8B27AE#8B27AE

#8B27AE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.207 H 315.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B27AE
RGBrgb(139, 39, 174)
HSLhsl(284, 63%, 42%)
HSVhsv(284, 78%, 68%)
CMYKcmyk(20.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(37.84, 60.36, -51.56)
CIE-LCHlch(37.84, 79.38, 319.50°)
OKLaboklab(49.11% 0.1473 -0.1455)
OKLCHoklch(49.11% 0.207 315.4)
XYZxyz(19.0117, 9.9967, 40.9643)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B27AE #4AAE27
analogous
#4727AE #8B27AE #AE278E
triadic
#8B27AE #AE8B27 #27AE8B
tetradic
#8B27AE #AE4727 #4AAE27 #278EAE
square
#8B27AE #AE4727 #4AAE27 #278EAE
split-complementary
#8B27AE #8EAE27 #27AE47
monochromatic
#3B114A #631C7C #8B27AE #AD3ED4 #C270DF

Accessibility & contrast

On white

7.00
#8B27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B27AE
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B27AE#FFFFFF#000000##FFFFFF
##8B27AE1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#225CAB
Tritanopia (blue-blind)
#88466A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b27ae;
/* rgb */ color: rgb(139, 39, 174);
/* oklch */ color: oklch(49.1% 0.207 315.4);
Tailwind
colors: {
  custom: {
    50: '#b16dc7',
    500: '#8b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b27ae;
$custom-light: #b16dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b27ae",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 284.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.20706,
    "h": 315.4
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#8B27AE
secondary
#82C66B
accent
#E6416C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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