#8B26AC#8B26AC

#8B26AC is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.206 H 316.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B26AC
RGBrgb(139, 38, 172)
HSLhsl(285, 64%, 41%)
HSVhsv(285, 78%, 67%)
CMYKcmyk(19.2%, 77.9%, 0%, 32.5%)
CIE-LABlab(37.58, 60.30, -50.78)
CIE-LCHlch(37.58, 78.84, 319.90°)
OKLaboklab(48.89% 0.1485 -0.1432)
OKLCHoklch(48.89% 0.206 316)
XYZxyz(18.7858, 9.8545, 39.9343)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AC #47AC26
analogous
#4826AC #8B26AC #AC268A
triadic
#8B26AC #AC8B26 #26AC8B
tetradic
#8B26AC #AC4826 #47AC26 #268AAC
square
#8B26AC #AC4826 #47AC26 #268AAC
split-complementary
#8B26AC #8AAC26 #26AC48
monochromatic
#3A1048 #621B7A #8B26AC #AE3BD4 #C36EDF

Accessibility & contrast

On white

7.07
#8B26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8B26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26AC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AC#FFFFFF#000000##FFFFFF
##8B26AC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#894569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b26ac;
/* rgb */ color: rgb(139, 38, 172);
/* oklch */ color: oklch(48.9% 0.206 316.0);
Tailwind
colors: {
  custom: {
    50: '#b16cc5',
    500: '#8b26ac',
    950: '#000000',
  },
}
SCSS
$custom: #8b26ac;
$custom-light: #b16cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26ac",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 285.224,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.2063,
    "h": 316
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#8B26AC
secondary
#7FC568
accent
#E7416A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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