#8A26AC#8A26AC

#8A26AC is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.206 H 315.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8A26AC
RGBrgb(138, 38, 172)
HSLhsl(285, 64%, 41%)
HSVhsv(285, 78%, 67%)
CMYKcmyk(19.8%, 77.9%, 0%, 32.5%)
CIE-LABlab(37.42, 60.11, -51.04)
CIE-LCHlch(37.42, 78.86, 319.67°)
OKLaboklab(48.75% 0.1473 -0.144)
OKLCHoklch(48.75% 0.206 315.6)
XYZxyz(18.6195, 9.7688, 39.9265)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26AC #48AC26
analogous
#4726AC #8A26AC #AC268B
triadic
#8A26AC #AC8A26 #26AC8A
tetradic
#8A26AC #AC4726 #48AC26 #268BAC
square
#8A26AC #AC4726 #48AC26 #268BAC
split-complementary
#8A26AC #8BAC26 #26AC47
monochromatic
#3A1048 #621B7A #8A26AC #AD3BD4 #C26EDF

Accessibility & contrast

On white

7.11
#8A26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26AC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26AC#FFFFFF#000000##FFFFFF
##8A26AC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#225BA9
Tritanopia (blue-blind)
#874569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a26ac;
/* rgb */ color: rgb(138, 38, 172);
/* oklch */ color: oklch(48.7% 0.206 315.6);
Tailwind
colors: {
  custom: {
    50: '#b06cc5',
    500: '#8a26ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a26ac;
$custom-light: #b06cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26ac",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 284.776,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.20595,
    "h": 315.6
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#8A26AC
secondary
#80C568
accent
#E7416B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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