#8122A5#8122A5

#8122A5 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 314.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8122A5
RGBrgb(129, 34, 165)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 79%, 65%)
CMYKcmyk(21.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(35.06, 58.36, -50.74)
CIE-LCHlch(35.06, 77.33, 319.00°)
OKLaboklab(46.64% 0.1403 -0.1434)
OKLCHoklch(46.64% 0.201 314.4)
XYZxyz(16.4157, 8.5284, 36.3714)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122A5 #46A522
analogous
#3F22A5 #8122A5 #A52288
triadic
#8122A5 #A58122 #22A581
tetradic
#8122A5 #A53F22 #46A522 #2288A5
square
#8122A5 #A53F22 #46A522 #2288A5
split-complementary
#8122A5 #88A522 #22A53F
monochromatic
#320D40 #591872 #8122A5 #A730D4 #BD63DF

Accessibility & contrast

On white

7.76
#8122A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8122A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8122A5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8122A5#FFFFFF#000000##FFFFFF
##8122A51.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)
#004DA9
Deuteranopia (green-blind)
#1755A2
Tritanopia (blue-blind)
#7E4164
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8122a5;
/* rgb */ color: rgb(129, 34, 165);
/* oklch */ color: oklch(46.6% 0.201 314.4);
Tailwind
colors: {
  custom: {
    50: '#aa69c0',
    500: '#8122a5',
    950: '#000000',
  },
}
SCSS
$custom: #8122a5;
$custom-light: #aa69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8122a5",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 283.511,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.2006,
    "h": 314.4
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#8122A5
secondary
#7BC45F
accent
#E93F6E
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8122A5

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

Preview Lab → · Contrast checker → · Palette generator →

#8122A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva