#8B26BA#8B26BA

#8B26BA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.219 H 311.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8B26BA
RGBrgb(139, 38, 186)
HSLhsl(281, 66%, 44%)
HSVhsv(281, 80%, 73%)
CMYKcmyk(25.3%, 79.6%, 0%, 27.1%)
CIE-LABlab(38.59, 63.10, -57.45)
CIE-LCHlch(38.59, 85.34, 317.68°)
OKLaboklab(49.91% 0.1459 -0.1628)
OKLCHoklch(49.91% 0.219 311.9)
XYZxyz(20.2018, 10.4209, 47.3921)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26BA #55BA26
analogous
#4126BA #8B26BA #BA269F
triadic
#8B26BA #BA8B26 #26BA8B
tetradic
#8B26BA #BA4126 #55BA26 #269FBA
square
#8B26BA #BA4126 #55BA26 #269FBA
split-complementary
#8B26BA #9FBA26 #26BA41
monochromatic
#3F1154 #651C87 #8B26BA #AA44D9 #C177E3

Accessibility & contrast

On white

6.81
#8B26BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8B26BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26BA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26BA#FFFFFF#000000##FFFFFF
##8B26BA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#854B71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b26ba;
/* rgb */ color: rgb(139, 38, 186);
/* oklch */ color: oklch(49.9% 0.219 311.9);
Tailwind
colors: {
  custom: {
    50: '#b26dd0',
    500: '#8b26ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b26ba;
$custom-light: #b26dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26ba",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 280.946,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.2186,
    "h": 311.9
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#8B26BA
secondary
#8ECB71
accent
#E93F75
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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