#8122A4#8122A4

#8122A4 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.200 H 314.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8122A4
RGBrgb(129, 34, 164)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 79%, 64%)
CMYKcmyk(21.3%, 79.3%, 0%, 35.7%)
CIE-LABlab(34.99, 58.16, -50.25)
CIE-LCHlch(34.99, 76.86, 319.17°)
OKLaboklab(46.57% 0.1405 -0.1419)
OKLCHoklch(46.57% 0.2 314.7)
XYZxyz(16.3250, 8.4921, 35.8940)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122A4 #45A422
analogous
#4022A4 #8122A4 #A42286
triadic
#8122A4 #A48122 #22A481
tetradic
#8122A4 #A44022 #45A422 #2286A4
square
#8122A4 #A44022 #45A422 #2286A4
split-complementary
#8122A4 #86A422 #22A440
monochromatic
#310D3F #591771 #8122A4 #A82FD4 #BD62DE

Accessibility & contrast

On white

7.78
#8122A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8122A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8122A4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8122A4#FFFFFF#000000##FFFFFF
##8122A41.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8122a4;
/* rgb */ color: rgb(129, 34, 164);
/* oklch */ color: oklch(46.6% 0.200 314.7);
Tailwind
colors: {
  custom: {
    50: '#aa69c0',
    500: '#8122a4',
    950: '#000000',
  },
}
SCSS
$custom: #8122a4;
$custom-light: #aa69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8122a4",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 283.846,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.19971,
    "h": 314.7
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#8122A4
secondary
#7AC45E
accent
#E93F6D
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8122A4

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

Preview Lab → · Contrast checker → · Palette generator →

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