#8C26AA#8C26AA

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

Color values

HEX#8C26AA
RGBrgb(140, 38, 170)
HSLhsl(286, 63%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(17.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(37.60, 60.10, -49.55)
CIE-LCHlch(37.60, 77.89, 320.50°)
OKLaboklab(48.89% 0.1501 -0.1395)
OKLCHoklch(48.89% 0.205 317.1)
XYZxyz(18.7629, 9.8648, 38.9382)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C26AA #44AA26
analogous
#4A26AA #8C26AA #AA2686
triadic
#8C26AA #AA8C26 #26AA8C
tetradic
#8C26AA #AA4A26 #44AA26 #2686AA
square
#8C26AA #AA4A26 #44AA26 #2686AA
split-complementary
#8C26AA #86AA26 #26AA4A
monochromatic
#3A1046 #631B78 #8C26AA #B03AD3 #C46CDE

Accessibility & contrast

On white

7.06
#8C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C26AA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C26AA#FFFFFF#000000##FFFFFF
##8C26AA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#8A4367
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c26aa;
/* rgb */ color: rgb(140, 38, 170);
/* oklch */ color: oklch(48.9% 0.205 317.1);
Tailwind
colors: {
  custom: {
    50: '#b26cc4',
    500: '#8c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #8c26aa;
$custom-light: #b26cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c26aa",
  "rgb": {
    "r": 140,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 286.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.20492,
    "h": 317.1
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#8C26AA
secondary
#7CC567
accent
#E64167
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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