#8B28AE#8B28AE

#8B28AE is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.206 H 315.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8B28AE
RGBrgb(139, 40, 174)
HSLhsl(284, 63%, 42%)
HSVhsv(284, 77%, 68%)
CMYKcmyk(20.1%, 77%, 0%, 31.8%)
CIE-LABlab(37.96, 60.02, -51.37)
CIE-LCHlch(37.96, 79.00, 319.44°)
OKLaboklab(49.2% 0.1465 -0.1449)
OKLCHoklch(49.2% 0.206 315.3)
XYZxyz(19.0450, 10.0633, 40.9754)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B28AE #4BAE28
analogous
#4828AE #8B28AE #AE288E
triadic
#8B28AE #AE8B28 #28AE8B
tetradic
#8B28AE #AE4828 #4BAE28 #288EAE
square
#8B28AE #AE4828 #4BAE28 #288EAE
split-complementary
#8B28AE #8EAE28 #28AE48
monochromatic
#3B114A #631D7C #8B28AE #AD40D3 #C272DF

Accessibility & contrast

On white

6.97
#8B28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B28AE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B28AE#FFFFFF#000000##FFFFFF
##8B28AE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b28ae;
/* rgb */ color: rgb(139, 40, 174);
/* oklch */ color: oklch(49.2% 0.206 315.3);
Tailwind
colors: {
  custom: {
    50: '#b16dc7',
    500: '#8b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b28ae;
$custom-light: #b16dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b28ae",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 284.328,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49195,
    "c": 0.20605,
    "h": 315.3
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#8B28AE
secondary
#84C66C
accent
#E6426D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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