#8128A3#8128A3

#8128A3 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.193 H 314.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8128A3
RGBrgb(129, 40, 163)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 75%, 64%)
CMYKcmyk(20.9%, 75.5%, 0%, 36.1%)
CIE-LABlab(35.65, 55.84, -48.57)
CIE-LCHlch(35.65, 74.01, 318.98°)
OKLaboklab(47.02% 0.1354 -0.137)
OKLCHoklch(47.02% 0.193 314.6)
XYZxyz(16.4218, 8.8296, 35.4825)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128A3 #4AA328
analogous
#4428A3 #8128A3 #A32887
triadic
#8128A3 #A38128 #28A381
tetradic
#8128A3 #A34428 #4AA328 #2887A3
square
#8128A3 #A34428 #4AA328 #2887A3
split-complementary
#8128A3 #87A328 #28A344
monochromatic
#331041 #5A1C72 #8128A3 #A53ACF #BC6BDB

Accessibility & contrast

On white

7.59
#8128A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8128A3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128A3#FFFFFF#000000##FFFFFF
##8128A31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#7E4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8128a3;
/* rgb */ color: rgb(129, 40, 163);
/* oklch */ color: oklch(47.0% 0.193 314.6);
Tailwind
colors: {
  custom: {
    50: '#aa6cbf',
    500: '#8128a3',
    950: '#000000',
  },
}
SCSS
$custom: #8128a3;
$custom-light: #aa6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8128a3",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 283.415,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.19262,
    "h": 314.6
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#8128A3
secondary
#7FC166
accent
#E44470
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8128A3

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

Preview Lab → · Contrast checker → · Palette generator →

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