#8124A6#8124A6

#8124A6 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 313.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8124A6
RGBrgb(129, 36, 166)
HSLhsl(283, 64%, 40%)
HSVhsv(283, 78%, 65%)
CMYKcmyk(22.3%, 78.3%, 0%, 34.9%)
CIE-LABlab(35.37, 57.89, -50.84)
CIE-LCHlch(35.37, 77.05, 318.71°)
OKLaboklab(46.88% 0.1385 -0.1437)
OKLCHoklch(46.88% 0.2 313.9)
XYZxyz(16.5659, 8.6826, 36.8723)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A6 #49A624
analogous
#4024A6 #8124A6 #A6248A
triadic
#8124A6 #A68124 #24A681
tetradic
#8124A6 #A64024 #49A624 #248AA6
square
#8124A6 #A64024 #49A624 #248AA6
split-complementary
#8124A6 #8AA624 #24A640
monochromatic
#330E41 #5A1974 #8124A6 #A634D3 #BC66DE

Accessibility & contrast

On white

7.67
#8124A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8124A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8124A6#FFFFFF#000000##FFFFFF
##8124A61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#1855A3
Tritanopia (blue-blind)
#7D4365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8124a6;
/* rgb */ color: rgb(129, 36, 166);
/* oklch */ color: oklch(46.9% 0.200 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa6ac1',
    500: '#8124a6',
    950: '#000000',
  },
}
SCSS
$custom: #8124a6;
$custom-light: #aa6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a6",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 282.923,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.19954,
    "h": 313.9
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#8124A6
secondary
#7EC462
accent
#E74070
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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