#8124A5#8124A5

#8124A5 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.199 H 314.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8124A5
RGBrgb(129, 36, 165)
HSLhsl(283, 64%, 39%)
HSVhsv(283, 78%, 65%)
CMYKcmyk(21.8%, 78.2%, 0%, 35.3%)
CIE-LABlab(35.29, 57.69, -50.36)
CIE-LCHlch(35.29, 76.57, 318.88°)
OKLaboklab(46.81% 0.1386 -0.1423)
OKLCHoklch(46.81% 0.199 314.3)
XYZxyz(16.4745, 8.6461, 36.3911)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A5 #48A524
analogous
#4124A5 #8124A5 #A52489
triadic
#8124A5 #A58124 #24A581
tetradic
#8124A5 #A54124 #48A524 #2489A5
square
#8124A5 #A54124 #48A524 #2489A5
split-complementary
#8124A5 #89A524 #24A541
monochromatic
#320E41 #5A1973 #8124A5 #A634D3 #BC66DE

Accessibility & contrast

On white

7.70
#8124A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8124A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8124A5#FFFFFF#000000##FFFFFF
##8124A51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#7E4264
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8124a5;
/* rgb */ color: rgb(129, 36, 165);
/* oklch */ color: oklch(46.8% 0.199 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ac0',
    500: '#8124a5',
    950: '#000000',
  },
}
SCSS
$custom: #8124a5;
$custom-light: #aa6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a5",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 283.256,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.19864,
    "h": 314.3
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#8124A5
secondary
#7DC362
accent
#E7416F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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