#8027AC#8027AC

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

Color values

HEX#8027AC
RGBrgb(128, 39, 172)
HSLhsl(280, 63%, 41%)
HSVhsv(280, 77%, 67%)
CMYKcmyk(25.6%, 77.3%, 0%, 32.5%)
CIE-LABlab(36.02, 57.88, -53.38)
CIE-LCHlch(36.02, 78.74, 317.32°)
OKLaboklab(47.45% 0.1334 -0.1512)
OKLCHoklch(47.45% 0.202 311.4)
XYZxyz(17.0726, 9.0192, 39.8633)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027AC #53AC27
analogous
#3D27AC #8027AC #AC2796
triadic
#8027AC #AC8027 #27AC80
tetradic
#8027AC #AC3D27 #53AC27 #2796AC
square
#8027AC #AC3D27 #53AC27 #2796AC
split-complementary
#8027AC #96AC27 #27AC3D
monochromatic
#361048 #5B1C7A #8027AC #A13DD3 #BA6FDE

Accessibility & contrast

On white

7.49
#8027AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8027AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027AC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027AC#FFFFFF#000000##FFFFFF
##8027AC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0956A9
Tritanopia (blue-blind)
#7A4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8027ac;
/* rgb */ color: rgb(128, 39, 172);
/* oklch */ color: oklch(47.4% 0.202 311.4);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8027ac',
    950: '#000000',
  },
}
SCSS
$custom: #8027ac;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8027ac",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 280.15,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.20166,
    "h": 311.4
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#8027AC
secondary
#88C56A
accent
#E64278
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8027AC

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

Preview Lab → · Contrast checker → · Palette generator →

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