#8026AC#8026AC

#8026AC is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.4% C 0.203 H 311.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8026AC
RGBrgb(128, 38, 172)
HSLhsl(280, 64%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(25.6%, 77.9%, 0%, 32.5%)
CIE-LABlab(35.90, 58.24, -53.59)
CIE-LCHlch(35.90, 79.14, 317.38°)
OKLaboklab(47.36% 0.1343 -0.1518)
OKLCHoklch(47.36% 0.203 311.5)
XYZxyz(17.0402, 8.9544, 39.8525)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8026AC #52AC26
analogous
#3D26AC #8026AC #AC2695
triadic
#8026AC #AC8026 #26AC80
tetradic
#8026AC #AC3D26 #52AC26 #2695AC
square
#8026AC #AC3D26 #52AC26 #2695AC
split-complementary
#8026AC #95AC26 #26AC3D
monochromatic
#351048 #5B1B7A #8026AC #A23BD4 #BA6EDF

Accessibility & contrast

On white

7.52
#8026AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8026AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8026AC#FFFFFF#000000##FFFFFF
##8026AC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0656A9
Tritanopia (blue-blind)
#7A4668
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8026ac;
/* rgb */ color: rgb(128, 38, 172);
/* oklch */ color: oklch(47.4% 0.203 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8026ac',
    950: '#000000',
  },
}
SCSS
$custom: #8026ac;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8026ac",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 280.299,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.20267,
    "h": 311.5
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8026AC

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

Preview Lab → · Contrast checker → · Palette generator →

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