#8B26AB#8B26AB

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

Color values

HEX#8B26AB
RGBrgb(139, 38, 171)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(18.7%, 77.8%, 0%, 32.9%)
CIE-LABlab(37.51, 60.11, -50.30)
CIE-LCHlch(37.51, 78.37, 320.08°)
OKLaboklab(48.82% 0.1487 -0.1418)
OKLCHoklch(48.82% 0.205 316.4)
XYZxyz(18.6901, 9.8162, 39.4304)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AB #46AB26
analogous
#4826AB #8B26AB #AB2688
triadic
#8B26AB #AB8B26 #26AB8B
tetradic
#8B26AB #AB4826 #46AB26 #2688AB
square
#8B26AB #AB4826 #46AB26 #2688AB
split-complementary
#8B26AB #88AB26 #26AB48
monochromatic
#3A1047 #621B79 #8B26AB #AF3BD3 #C36DDF

Accessibility & contrast

On white

7.09
#8B26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B26AB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AB#FFFFFF#000000##FFFFFF
##8B26AB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#255BA8
Tritanopia (blue-blind)
#894468
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b26ab;
/* rgb */ color: rgb(139, 38, 171);
/* oklch */ color: oklch(48.8% 0.205 316.4);
Tailwind
colors: {
  custom: {
    50: '#b16cc5',
    500: '#8b26ab',
    950: '#000000',
  },
}
SCSS
$custom: #8b26ab;
$custom-light: #b16cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26ab",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 285.564,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.20543,
    "h": 316.4
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#8B26AB
secondary
#7EC568
accent
#E74169
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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