#8129A2#8129A2

#8129A2 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.191 H 314.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8129A2
RGBrgb(129, 41, 162)
HSLhsl(284, 60%, 40%)
HSVhsv(284, 75%, 64%)
CMYKcmyk(20.4%, 74.7%, 0%, 36.5%)
CIE-LABlab(35.72, 55.25, -47.87)
CIE-LCHlch(35.72, 73.10, 319.10°)
OKLaboklab(47.04% 0.1345 -0.135)
OKLCHoklch(47.04% 0.191 314.9)
XYZxyz(16.3667, 8.8622, 35.0239)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8129A2 #4AA229
analogous
#4429A2 #8129A2 #A22987
triadic
#8129A2 #A28129 #29A281
tetradic
#8129A2 #A24429 #4AA229 #2987A2
square
#8129A2 #A24429 #4AA229 #2987A2
split-complementary
#8129A2 #87A229 #29A244
monochromatic
#331040 #5A1D71 #8129A2 #A53BCD #BC6CDA

Accessibility & contrast

On white

7.57
#8129A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8129A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8129A2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8129A2#FFFFFF#000000##FFFFFF
##8129A21.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)
#004FA5
Deuteranopia (green-blind)
#24569F
Tritanopia (blue-blind)
#7E4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8129a2;
/* rgb */ color: rgb(129, 41, 162);
/* oklch */ color: oklch(47.0% 0.191 314.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cbe',
    500: '#8129a2',
    950: '#000000',
  },
}
SCSS
$custom: #8129a2;
$custom-light: #aa6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8129a2",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 283.636,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.19058,
    "h": 314.9
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#8129A2
secondary
#7FC067
accent
#E34570
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8129A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8129A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva