#8128A4#8128A4

#8128A4 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.194 H 314.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8128A4
RGBrgb(129, 40, 164)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 76%, 64%)
CMYKcmyk(21.3%, 75.6%, 0%, 35.7%)
CIE-LABlab(35.72, 56.04, -49.06)
CIE-LCHlch(35.72, 74.48, 318.80°)
OKLaboklab(47.09% 0.1352 -0.1385)
OKLCHoklch(47.09% 0.194 314.3)
XYZxyz(16.5118, 8.8656, 35.9562)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128A4 #4BA428
analogous
#4328A4 #8128A4 #A42889
triadic
#8128A4 #A48128 #28A481
tetradic
#8128A4 #A44328 #4BA428 #2889A4
square
#8128A4 #A44328 #4BA428 #2889A4
split-complementary
#8128A4 #89A428 #28A443
monochromatic
#341042 #5A1C73 #8128A4 #A53ACF #BC6BDB

Accessibility & contrast

On white

7.57
#8128A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8128A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8128A4#FFFFFF#000000##FFFFFF
##8128A41.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#7E4464
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8128a4;
/* rgb */ color: rgb(129, 40, 164);
/* oklch */ color: oklch(47.1% 0.194 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa6cc0',
    500: '#8128a4',
    950: '#000000',
  },
}
SCSS
$custom: #8128a4;
$custom-light: #aa6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8128a4",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 283.065,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.19353,
    "h": 314.3
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#8128A4
secondary
#80C166
accent
#E44471
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8128A4

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

Preview Lab → · Contrast checker → · Palette generator →

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