#8128A5#8128A5

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

Color values

HEX#8128A5
RGBrgb(129, 40, 165)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 76%, 65%)
CMYKcmyk(21.8%, 75.8%, 0%, 35.3%)
CIE-LABlab(35.79, 56.25, -49.55)
CIE-LCHlch(35.79, 74.96, 318.62°)
OKLaboklab(47.16% 0.1351 -0.1399)
OKLCHoklch(47.16% 0.194 314)
XYZxyz(16.6024, 8.9019, 36.4337)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128A5 #4CA528
analogous
#4228A5 #8128A5 #A5288A
triadic
#8128A5 #A58128 #28A581
tetradic
#8128A5 #A54228 #4CA528 #288AA5
square
#8128A5 #A54228 #4CA528 #288AA5
split-complementary
#8128A5 #8AA528 #28A542
monochromatic
#341042 #5A1C74 #8128A5 #A53BCF #BB6CDB

Accessibility & contrast

On white

7.55
#8128A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8128A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128A5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128A5#FFFFFF#000000##FFFFFF
##8128A51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#7D4465
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8128a5;
/* rgb */ color: rgb(129, 40, 165);
/* oklch */ color: oklch(47.2% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#aa6cc0',
    500: '#8128a5',
    950: '#000000',
  },
}
SCSS
$custom: #8128a5;
$custom-light: #aa6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8128a5",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 282.72,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.19446,
    "h": 314
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#8128A5
secondary
#81C267
accent
#E44472
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8128A5

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

Preview Lab → · Contrast checker → · Palette generator →

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