#8026AB#8026AB

#8026AB is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.202 H 311.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8026AB
RGBrgb(128, 38, 171)
HSLhsl(281, 64%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(25.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(35.82, 58.03, -53.11)
CIE-LCHlch(35.82, 78.67, 317.54°)
OKLaboklab(47.29% 0.1345 -0.1504)
OKLCHoklch(47.29% 0.202 311.8)
XYZxyz(16.9445, 8.9162, 39.3486)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026AB #51AB26
analogous
#3E26AB #8026AB #AB2693
triadic
#8026AB #AB8026 #26AB80
tetradic
#8026AB #AB3E26 #51AB26 #2693AB
square
#8026AB #AB3E26 #51AB26 #2693AB
split-complementary
#8026AB #93AB26 #26AB3E
monochromatic
#351047 #5B1B79 #8026AB #A23BD3 #BA6DDF

Accessibility & contrast

On white

7.55
#8026AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8026AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8026AB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8026AB#FFFFFF#000000##FFFFFF
##8026AB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0A56A8
Tritanopia (blue-blind)
#7B4668
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8026ab;
/* rgb */ color: rgb(128, 38, 171);
/* oklch */ color: oklch(47.3% 0.202 311.8);
Tailwind
colors: {
  custom: {
    50: '#a96bc5',
    500: '#8026ab',
    950: '#000000',
  },
}
SCSS
$custom: #8026ab;
$custom-light: #a96bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8026ab",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 280.602,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.20175,
    "h": 311.8
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#8026AB
secondary
#86C568
accent
#E74177
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8026AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8026AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva