#8124AA#8124AA

#8124AA is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.2% C 0.203 H 312.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8124AA
RGBrgb(129, 36, 170)
HSLhsl(282, 65%, 40%)
HSVhsv(282, 79%, 67%)
CMYKcmyk(24.1%, 78.8%, 0%, 33.3%)
CIE-LABlab(35.66, 58.71, -52.77)
CIE-LCHlch(35.66, 78.94, 318.05°)
OKLaboklab(47.18% 0.1377 -0.1493)
OKLCHoklch(47.18% 0.203 312.7)
XYZxyz(16.9385, 8.8317, 38.8348)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124AA #4DAA24
analogous
#3E24AA #8124AA #AA2490
triadic
#8124AA #AA8124 #24AA81
tetradic
#8124AA #AA3E24 #4DAA24 #2490AA
square
#8124AA #AA3E24 #4DAA24 #2490AA
split-complementary
#8124AA #90AA24 #24AA3E
monochromatic
#340F45 #5B1977 #8124AA #A437D5 #BB69DF

Accessibility & contrast

On white

7.59
#8124AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8124AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8124AA#FFFFFF#000000##FFFFFF
##8124AA1.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)
#004FAE
Deuteranopia (green-blind)
#0D56A7
Tritanopia (blue-blind)
#7C4467
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8124aa;
/* rgb */ color: rgb(129, 36, 170);
/* oklch */ color: oklch(47.2% 0.203 312.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ac4',
    500: '#8124aa',
    950: '#000000',
  },
}
SCSS
$custom: #8124aa;
$custom-light: #aa6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8124aa",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 281.642,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.20314,
    "h": 312.7
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#8124AA
secondary
#82C565
accent
#E84073
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8124AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8124AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva