#8B26B9#8B26B9

#8B26B9 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.218 H 312.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8B26B9
RGBrgb(139, 38, 185)
HSLhsl(281, 66%, 44%)
HSVhsv(281, 79%, 73%)
CMYKcmyk(24.9%, 79.5%, 0%, 27.5%)
CIE-LABlab(38.51, 62.90, -56.98)
CIE-LCHlch(38.51, 84.87, 317.82°)
OKLaboklab(49.84% 0.1461 -0.1614)
OKLCHoklch(49.84% 0.218 312.2)
XYZxyz(20.0959, 10.3786, 46.8342)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26B9 #54B926
analogous
#4126B9 #8B26B9 #B9269D
triadic
#8B26B9 #B98B26 #26B98B
tetradic
#8B26B9 #B94126 #54B926 #269DB9
square
#8B26B9 #B94126 #54B926 #269DB9
split-complementary
#8B26B9 #9DB926 #26B941
monochromatic
#3F1153 #651C86 #8B26B9 #AA44D9 #C176E3

Accessibility & contrast

On white

6.83
#8B26B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B26B9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26B9#FFFFFF#000000##FFFFFF
##8B26B91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#035DB6
Tritanopia (blue-blind)
#854A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b26b9;
/* rgb */ color: rgb(139, 38, 185);
/* oklch */ color: oklch(49.8% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#b26dcf',
    500: '#8b26b9',
    950: '#000000',
  },
}
SCSS
$custom: #8b26b9;
$custom-light: #b26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26b9",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 281.224,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.21772,
    "h": 312.2
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#8B26B9
secondary
#8DCA70
accent
#E93F74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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