#8128AD#8128AD

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

Color values

HEX#8128AD
RGBrgb(129, 40, 173)
HSLhsl(280, 62%, 42%)
HSVhsv(280, 77%, 68%)
CMYKcmyk(25.4%, 76.9%, 0%, 32.2%)
CIE-LABlab(36.37, 57.92, -53.41)
CIE-LCHlch(36.37, 78.78, 317.32°)
OKLaboklab(47.75% 0.1337 -0.1512)
OKLCHoklch(47.75% 0.202 311.5)
XYZxyz(17.3535, 9.2023, 40.3891)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128AD #54AD28
analogous
#3E28AD #8128AD #AD2897
triadic
#8128AD #AD8128 #28AD81
tetradic
#8128AD #AD3E28 #54AD28 #2897AD
square
#8128AD #AD3E28 #54AD28 #2897AD
split-complementary
#8128AD #97AD28 #28AD3E
monochromatic
#37114A #5C1D7B #8128AD #A23FD3 #BA71DE

Accessibility & contrast

On white

7.39
#8128AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8128AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128AD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128AD#FFFFFF#000000##FFFFFF
##8128AD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0C57AA
Tritanopia (blue-blind)
#7B486A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8128ad;
/* rgb */ color: rgb(129, 40, 173);
/* oklch */ color: oklch(47.7% 0.202 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cc6',
    500: '#8128ad',
    950: '#000000',
  },
}
SCSS
$custom: #8128ad;
$custom-light: #aa6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8128ad",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 280.15,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.20186,
    "h": 311.5
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#8128AD
secondary
#89C56C
accent
#E64278
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8128AD

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

Preview Lab → · Contrast checker → · Palette generator →

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