#8B26B6#8B26B6

#8B26B6 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.215 H 313.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B26B6
RGBrgb(139, 38, 182)
HSLhsl(282, 65%, 43%)
HSVhsv(282, 79%, 71%)
CMYKcmyk(23.6%, 79.1%, 0%, 28.6%)
CIE-LABlab(38.29, 62.29, -55.57)
CIE-LCHlch(38.29, 83.48, 318.26°)
OKLaboklab(49.61% 0.1467 -0.1572)
OKLCHoklch(49.61% 0.215 313)
XYZxyz(19.7826, 10.2532, 45.1839)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26B6 #51B626
analogous
#4326B6 #8B26B6 #B62699
triadic
#8B26B6 #B68B26 #26B68B
tetradic
#8B26B6 #B64326 #51B626 #2699B6
square
#8B26B6 #B64326 #51B626 #2699B6
split-complementary
#8B26B6 #99B626 #26B643
monochromatic
#3E1151 #641B83 #8B26B6 #AB42D7 #C174E2

Accessibility & contrast

On white

6.88
#8B26B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8B26B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B26B6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26B6#FFFFFF#000000##FFFFFF
##8B26B61.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0F5CB3
Tritanopia (blue-blind)
#86496E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b26b6;
/* rgb */ color: rgb(139, 38, 182);
/* oklch */ color: oklch(49.6% 0.215 313.0);
Tailwind
colors: {
  custom: {
    50: '#b26dcd',
    500: '#8b26b6',
    950: '#000000',
  },
}
SCSS
$custom: #8b26b6;
$custom-light: #b26dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26b6",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 282.083,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.21507,
    "h": 313
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#8B26B6
secondary
#8AC96E
accent
#E83F72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26B6

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

Preview Lab → · Contrast checker → · Palette generator →

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