#8A26A4#8A26A4

#8A26A4 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 318.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A26A4
RGBrgb(138, 38, 164)
HSLhsl(288, 62%, 40%)
HSVhsv(288, 77%, 64%)
CMYKcmyk(15.9%, 76.8%, 0%, 35.7%)
CIE-LABlab(36.88, 58.55, -47.13)
CIE-LCHlch(36.88, 75.17, 321.17°)
OKLaboklab(48.18% 0.1484 -0.1325)
OKLCHoklch(48.18% 0.199 318.2)
XYZxyz(17.8743, 9.4707, 36.0013)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A4 #40A426
analogous
#4B26A4 #8A26A4 #A4267F
triadic
#8A26A4 #A48A26 #26A48A
tetradic
#8A26A4 #A44B26 #40A426 #267FA4
square
#8A26A4 #A44B26 #40A426 #267FA4
split-complementary
#8A26A4 #7FA426 #26A44B
monochromatic
#360F41 #601A72 #8A26A4 #B137D1 #C468DC

Accessibility & contrast

On white

7.26
#8A26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26A4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A4#FFFFFF#000000##FFFFFF
##8A26A41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#894164
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a26a4;
/* rgb */ color: rgb(138, 38, 164);
/* oklch */ color: oklch(48.2% 0.199 318.2);
Tailwind
colors: {
  custom: {
    50: '#b06cc0',
    500: '#8a26a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a4;
$custom-light: #b06cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a4",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 287.619,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.19897,
    "h": 318.2
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#8A26A4
secondary
#77C264
accent
#E54264
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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