#8B26AA#8B26AA

#8B26AA is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.205 H 316.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8B26AA
RGBrgb(139, 38, 170)
HSLhsl(286, 63%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(18.2%, 77.6%, 0%, 33.3%)
CIE-LABlab(37.44, 59.91, -49.81)
CIE-LCHlch(37.44, 77.91, 320.26°)
OKLaboklab(48.75% 0.1488 -0.1403)
OKLCHoklch(48.75% 0.205 316.7)
XYZxyz(18.5952, 9.7783, 38.9303)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AA #45AA26
analogous
#4926AA #8B26AA #AA2687
triadic
#8B26AA #AA8B26 #26AA8B
tetradic
#8B26AA #AA4926 #45AA26 #2687AA
square
#8B26AA #AA4926 #45AA26 #2687AA
split-complementary
#8B26AA #87AA26 #26AA49
monochromatic
#391046 #621B78 #8B26AA #AF3AD3 #C36CDE

Accessibility & contrast

On white

7.11
#8B26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26AA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AA#FFFFFF#000000##FFFFFF
##8B26AA1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#894467
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b26aa;
/* rgb */ color: rgb(139, 38, 170);
/* oklch */ color: oklch(48.7% 0.205 316.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc4',
    500: '#8b26aa',
    950: '#000000',
  },
}
SCSS
$custom: #8b26aa;
$custom-light: #b16cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26aa",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 285.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.20456,
    "h": 316.7
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#8B26AA
secondary
#7DC567
accent
#E64168
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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