#8124A3#8124A3

#8124A3 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.197 H 314.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8124A3
RGBrgb(129, 36, 163)
HSLhsl(284, 64%, 39%)
HSVhsv(284, 78%, 64%)
CMYKcmyk(20.9%, 77.9%, 0%, 36.1%)
CIE-LABlab(35.15, 57.28, -49.38)
CIE-LCHlch(35.15, 75.63, 319.23°)
OKLaboklab(46.66% 0.139 -0.1394)
OKLCHoklch(46.66% 0.197 314.9)
XYZxyz(16.2939, 8.5738, 35.4398)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A3 #46A324
analogous
#4224A3 #8124A3 #A32486
triadic
#8124A3 #A38124 #24A381
tetradic
#8124A3 #A34224 #46A324 #2486A3
square
#8124A3 #A34224 #46A324 #2486A3
split-complementary
#8124A3 #86A324 #24A342
monochromatic
#320E3F #591971 #8124A3 #A732D2 #BD65DD

Accessibility & contrast

On white

7.74
#8124A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8124A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8124A3#FFFFFF#000000##FFFFFF
##8124A31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#7E4163
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8124a3;
/* rgb */ color: rgb(129, 36, 163);
/* oklch */ color: oklch(46.7% 0.197 314.9);
Tailwind
colors: {
  custom: {
    50: '#aa6abf',
    500: '#8124a3',
    950: '#000000',
  },
}
SCSS
$custom: #8124a3;
$custom-light: #aa6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a3",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 283.937,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.19684,
    "h": 314.9
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#8124A3
secondary
#7BC260
accent
#E7416D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A3

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

Preview Lab → · Contrast checker → · Palette generator →

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