#8C26AB#8C26AB

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

Color values

HEX#8C26AB
RGBrgb(140, 38, 171)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(18.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(37.67, 60.30, -50.04)
CIE-LCHlch(37.67, 78.35, 320.31°)
OKLaboklab(48.96% 0.1499 -0.141)
OKLCHoklch(48.96% 0.206 316.8)
XYZxyz(18.8579, 9.9028, 39.4383)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C26AB #45AB26
analogous
#4926AB #8C26AB #AB2687
triadic
#8C26AB #AB8C26 #26AB8C
tetradic
#8C26AB #AB4926 #45AB26 #2687AB
square
#8C26AB #AB4926 #45AB26 #2687AB
split-complementary
#8C26AB #87AB26 #26AB49
monochromatic
#3A1047 #631B79 #8C26AB #B03BD3 #C46DDF

Accessibility & contrast

On white

7.05
#8C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8C26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C26AB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C26AB#FFFFFF#000000##FFFFFF
##8C26AB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#275BA8
Tritanopia (blue-blind)
#8A4468
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c26ab;
/* rgb */ color: rgb(140, 38, 171);
/* oklch */ color: oklch(49.0% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#b26cc5',
    500: '#8c26ab',
    950: '#000000',
  },
}
SCSS
$custom: #8c26ab;
$custom-light: #b26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c26ab",
  "rgb": {
    "r": 140,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 286.015,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.20579,
    "h": 316.8
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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