#8121A4#8121A4

#8121A4 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.201 H 314.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8121A4
RGBrgb(129, 33, 164)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 80%, 64%)
CMYKcmyk(21.3%, 79.9%, 0%, 35.7%)
CIE-LABlab(34.87, 58.49, -50.43)
CIE-LCHlch(34.87, 77.23, 319.23°)
OKLaboklab(46.49% 0.1413 -0.1425)
OKLCHoklch(46.49% 0.201 314.8)
XYZxyz(16.2968, 8.4358, 35.8846)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121A4 #44A421
analogous
#3F21A4 #8121A4 #A42185
triadic
#8121A4 #A48121 #21A481
tetradic
#8121A4 #A43F21 #44A421 #2185A4
square
#8121A4 #A43F21 #44A421 #2185A4
split-complementary
#8121A4 #85A421 #21A43F
monochromatic
#310C3E #591771 #8121A4 #A82DD5 #BD60DF

Accessibility & contrast

On white

7.82
#8121A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8121A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121A4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121A4#FFFFFF#000000##FFFFFF
##8121A41.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#7E4063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8121a4;
/* rgb */ color: rgb(129, 33, 164);
/* oklch */ color: oklch(46.5% 0.201 314.8);
Tailwind
colors: {
  custom: {
    50: '#aa69c0',
    500: '#8121a4',
    950: '#000000',
  },
}
SCSS
$custom: #8121a4;
$custom-light: #aa69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8121a4",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 283.969,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.20066,
    "h": 314.8
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#8121A4
secondary
#78C45D
accent
#E93E6C
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8121A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8121A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva