#8B26A7#8B26A7

#8B26A7 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.5% C 0.202 H 317.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8B26A7
RGBrgb(139, 38, 167)
HSLhsl(287, 63%, 40%)
HSVhsv(287, 77%, 65%)
CMYKcmyk(16.8%, 77.2%, 0%, 34.5%)
CIE-LABlab(37.24, 59.33, -48.35)
CIE-LCHlch(37.24, 76.53, 320.82°)
OKLaboklab(48.53% 0.1493 -0.136)
OKLCHoklch(48.53% 0.202 317.7)
XYZxyz(18.3146, 9.6660, 37.4527)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26A7 #42A726
analogous
#4B26A7 #8B26A7 #A72682
triadic
#8B26A7 #A78B26 #26A78B
tetradic
#8B26A7 #A74B26 #42A726 #2682A7
square
#8B26A7 #A74B26 #42A726 #2682A7
split-complementary
#8B26A7 #82A726 #26A74B
monochromatic
#380F43 #621B75 #8B26A7 #B138D2 #C46ADD

Accessibility & contrast

On white

7.16
#8B26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B26A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26A7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26A7#FFFFFF#000000##FFFFFF
##8B26A71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#2A5BA4
Tritanopia (blue-blind)
#8A4266
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b26a7;
/* rgb */ color: rgb(139, 38, 167);
/* oklch */ color: oklch(48.5% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc2',
    500: '#8b26a7',
    950: '#000000',
  },
}
SCSS
$custom: #8b26a7;
$custom-light: #b16cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26a7",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 286.977,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.20195,
    "h": 317.7
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#8B26A7
secondary
#7AC365
accent
#E64265
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8B26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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