#8124A8#8124A8

#8124A8 is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.0% C 0.201 H 313.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8124A8
RGBrgb(129, 36, 168)
HSLhsl(282, 65%, 40%)
HSVhsv(282, 79%, 66%)
CMYKcmyk(23.2%, 78.6%, 0%, 34.1%)
CIE-LABlab(35.51, 58.30, -51.81)
CIE-LCHlch(35.51, 77.99, 318.37°)
OKLaboklab(47.03% 0.1381 -0.1465)
OKLCHoklch(47.03% 0.201 313.3)
XYZxyz(16.7508, 8.7566, 37.8460)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A8 #4BA824
analogous
#3F24A8 #8124A8 #A8248D
triadic
#8124A8 #A88124 #24A881
tetradic
#8124A8 #A83F24 #4BA824 #248DA8
square
#8124A8 #A83F24 #4BA824 #248DA8
split-complementary
#8124A8 #8DA824 #24A83F
monochromatic
#340E43 #5A1976 #8124A8 #A535D4 #BC68DF

Accessibility & contrast

On white

7.63
#8124A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8124A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8124A8#FFFFFF#000000##FFFFFF
##8124A81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#7D4466
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8124a8;
/* rgb */ color: rgb(129, 36, 168);
/* oklch */ color: oklch(47.0% 0.201 313.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ac3',
    500: '#8124a8',
    950: '#000000',
  },
}
SCSS
$custom: #8124a8;
$custom-light: #aa6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a8",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 282.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.20134,
    "h": 313.3
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#8124A8
secondary
#80C463
accent
#E84072
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A8

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

Preview Lab → · Contrast checker → · Palette generator →

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