#8128AC#8128AC

#8128AC is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.7% C 0.201 H 311.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8128AC
RGBrgb(129, 40, 172)
HSLhsl(280, 62%, 42%)
HSVhsv(280, 77%, 67%)
CMYKcmyk(25%, 76.7%, 0%, 32.5%)
CIE-LABlab(36.30, 57.71, -52.93)
CIE-LCHlch(36.30, 78.30, 317.47°)
OKLaboklab(47.67% 0.1339 -0.1498)
OKLCHoklch(47.67% 0.201 311.8)
XYZxyz(17.2571, 9.1637, 39.8814)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128AC #53AC28
analogous
#3F28AC #8128AC #AC2895
triadic
#8128AC #AC8128 #28AC81
tetradic
#8128AC #AC3F28 #53AC28 #2895AC
square
#8128AC #AC3F28 #53AC28 #2895AC
split-complementary
#8128AC #95AC28 #28AC3F
monochromatic
#371149 #5C1C7A #8128AC #A23FD2 #BA71DE

Accessibility & contrast

On white

7.41
#8128AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8128AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128AC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128AC#FFFFFF#000000##FFFFFF
##8128AC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#7C4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8128ac;
/* rgb */ color: rgb(129, 40, 172);
/* oklch */ color: oklch(47.7% 0.201 311.8);
Tailwind
colors: {
  custom: {
    50: '#aa6cc5',
    500: '#8128ac',
    950: '#000000',
  },
}
SCSS
$custom: #8128ac;
$custom-light: #aa6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8128ac",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 280.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.20093,
    "h": 311.8
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#8128AC
secondary
#88C56B
accent
#E54278
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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