#8A26AE#8A26AE

#8A26AE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.208 H 315.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A26AE
RGBrgb(138, 38, 174)
HSLhsl(284, 64%, 42%)
HSVhsv(284, 78%, 68%)
CMYKcmyk(20.7%, 78.2%, 0%, 31.8%)
CIE-LABlab(37.56, 60.51, -52.01)
CIE-LCHlch(37.56, 79.79, 319.32°)
OKLaboklab(48.89% 0.1469 -0.1468)
OKLCHoklch(48.89% 0.208 315)
XYZxyz(18.8131, 9.8462, 40.9457)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26AE #4AAE26
analogous
#4626AE #8A26AE #AE268E
triadic
#8A26AE #AE8A26 #26AE8A
tetradic
#8A26AE #AE4626 #4AAE26 #268EAE
square
#8A26AE #AE4626 #4AAE26 #268EAE
split-complementary
#8A26AE #8EAE26 #26AE46
monochromatic
#3A104A #621B7C #8A26AE #AC3DD5 #C26FE0

Accessibility & contrast

On white

7.07
#8A26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A26AE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26AE#FFFFFF#000000##FFFFFF
##8A26AE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#1F5BAB
Tritanopia (blue-blind)
#87466A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a26ae;
/* rgb */ color: rgb(138, 38, 174);
/* oklch */ color: oklch(48.9% 0.208 315.0);
Tailwind
colors: {
  custom: {
    50: '#b16cc7',
    500: '#8a26ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a26ae;
$custom-light: #b16cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26ae",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 284.118,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.20771,
    "h": 315
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#8A26AE
secondary
#82C66A
accent
#E7416D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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