#8124A2#8124A2

#8124A2 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.196 H 315.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8124A2
RGBrgb(129, 36, 162)
HSLhsl(284, 64%, 39%)
HSVhsv(284, 78%, 64%)
CMYKcmyk(20.4%, 77.8%, 0%, 36.5%)
CIE-LABlab(35.08, 57.08, -48.90)
CIE-LCHlch(35.08, 75.16, 319.42°)
OKLaboklab(46.59% 0.1391 -0.138)
OKLCHoklch(46.59% 0.196 315.2)
XYZxyz(16.2047, 8.5381, 34.9698)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A2 #45A224
analogous
#4224A2 #8124A2 #A22484
triadic
#8124A2 #A28124 #24A281
tetradic
#8124A2 #A24224 #45A224 #2484A2
square
#8124A2 #A24224 #45A224 #2484A2
split-complementary
#8124A2 #84A224 #24A242
monochromatic
#310E3E #591970 #8124A2 #A832D1 #BD64DD

Accessibility & contrast

On white

7.76
#8124A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8124A2#FFFFFF#000000##FFFFFF
##8124A21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1F559F
Tritanopia (blue-blind)
#7E4162
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8124a2;
/* rgb */ color: rgb(129, 36, 162);
/* oklch */ color: oklch(46.6% 0.196 315.2);
Tailwind
colors: {
  custom: {
    50: '#aa6abe',
    500: '#8124a2',
    950: '#000000',
  },
}
SCSS
$custom: #8124a2;
$custom-light: #aa6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a2",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 284.286,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.19596,
    "h": 315.2
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#8124A2
secondary
#7AC260
accent
#E7416C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A2

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

Preview Lab → · Contrast checker → · Palette generator →

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