#8026AA#8026AA

#8026AA is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 312.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8026AA
RGBrgb(128, 38, 170)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(24.7%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.75, 57.82, -52.63)
CIE-LCHlch(35.75, 78.19, 317.69°)
OKLaboklab(47.21% 0.1347 -0.149)
OKLCHoklch(47.21% 0.201 312.1)
XYZxyz(16.8496, 8.8782, 38.8485)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026AA #50AA26
analogous
#3E26AA #8026AA #AA2692
triadic
#8026AA #AA8026 #26AA80
tetradic
#8026AA #AA3E26 #50AA26 #2692AA
square
#8026AA #AA3E26 #50AA26 #2692AA
split-complementary
#8026AA #92AA26 #26AA3E
monochromatic
#351046 #5A1B78 #8026AA #A23AD3 #BA6CDE

Accessibility & contrast

On white

7.57
#8026AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8026AA#FFFFFF#000000##FFFFFF
##8026AA1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0E56A7
Tritanopia (blue-blind)
#7B4667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8026aa;
/* rgb */ color: rgb(128, 38, 170);
/* oklch */ color: oklch(47.2% 0.201 312.1);
Tailwind
colors: {
  custom: {
    50: '#a96bc4',
    500: '#8026aa',
    950: '#000000',
  },
}
SCSS
$custom: #8026aa;
$custom-light: #a96bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8026aa",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 280.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.20083,
    "h": 312.1
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#8026AA
secondary
#85C567
accent
#E64176
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8026AA

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

Preview Lab → · Contrast checker → · Palette generator →

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