#8128A8#8128A8

#8128A8 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.197 H 313.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8128A8
RGBrgb(129, 40, 168)
HSLhsl(282, 62%, 41%)
HSVhsv(282, 76%, 66%)
CMYKcmyk(23.2%, 76.2%, 0%, 34.1%)
CIE-LABlab(36.01, 56.87, -51.00)
CIE-LCHlch(36.01, 76.39, 318.11°)
OKLaboklab(47.38% 0.1346 -0.1442)
OKLCHoklch(47.38% 0.197 313)
XYZxyz(16.8787, 9.0124, 37.8886)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128A8 #4FA828
analogous
#4128A8 #8128A8 #A8288F
triadic
#8128A8 #A88128 #28A881
tetradic
#8128A8 #A84128 #4FA828 #288FA8
square
#8128A8 #A84128 #4FA828 #288FA8
split-complementary
#8128A8 #8FA828 #28A841
monochromatic
#351045 #5B1C77 #8128A8 #A43DD1 #BB6EDC

Accessibility & contrast

On white

7.49
#8128A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8128A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128A8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128A8#FFFFFF#000000##FFFFFF
##8128A81.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#1957A5
Tritanopia (blue-blind)
#7D4567
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8128a8;
/* rgb */ color: rgb(129, 40, 168);
/* oklch */ color: oklch(47.4% 0.197 313.0);
Tailwind
colors: {
  custom: {
    50: '#aa6cc3',
    500: '#8128a8',
    950: '#000000',
  },
}
SCSS
$custom: #8128a8;
$custom-light: #aa6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8128a8",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 281.719,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.19723,
    "h": 313
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#8128A8
secondary
#84C369
accent
#E54374
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8128A8

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

Preview Lab → · Contrast checker → · Palette generator →

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