#8B26AE#8B26AE

#8B26AE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.208 H 315.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B26AE
RGBrgb(139, 38, 174)
HSLhsl(285, 64%, 42%)
HSVhsv(285, 78%, 68%)
CMYKcmyk(20.1%, 78.2%, 0%, 31.8%)
CIE-LABlab(37.72, 60.70, -51.75)
CIE-LCHlch(37.72, 79.76, 319.55°)
OKLaboklab(49.03% 0.1482 -0.146)
OKLCHoklch(49.03% 0.208 315.4)
XYZxyz(18.9793, 9.9319, 40.9535)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B26AE #49AE26
analogous
#4726AE #8B26AE #AE268D
triadic
#8B26AE #AE8B26 #26AE8B
tetradic
#8B26AE #AE4726 #49AE26 #268DAE
square
#8B26AE #AE4726 #49AE26 #268DAE
split-complementary
#8B26AE #8DAE26 #26AE47
monochromatic
#3B104A #631B7C #8B26AE #AD3DD5 #C36FE0

Accessibility & contrast

On white

7.03
#8B26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B26AE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B26AE#FFFFFF#000000##FFFFFF
##8B26AE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#215BAB
Tritanopia (blue-blind)
#88456A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b26ae;
/* rgb */ color: rgb(139, 38, 174);
/* oklch */ color: oklch(49.0% 0.208 315.4);
Tailwind
colors: {
  custom: {
    50: '#b16cc7',
    500: '#8b26ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b26ae;
$custom-light: #b16cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b26ae",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 284.559,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.20805,
    "h": 315.4
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#8B26AE
secondary
#81C66A
accent
#E7416B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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