#8121A2#8121A2

#8121A2 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.199 H 315.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8121A2
RGBrgb(129, 33, 162)
HSLhsl(285, 66%, 38%)
HSVhsv(285, 80%, 64%)
CMYKcmyk(20.4%, 79.6%, 0%, 36.5%)
CIE-LABlab(34.73, 58.09, -49.46)
CIE-LCHlch(34.73, 76.29, 319.59°)
OKLaboklab(46.34% 0.1417 -0.1396)
OKLCHoklch(46.34% 0.199 315.4)
XYZxyz(16.1176, 8.3641, 34.9408)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121A2 #42A221
analogous
#4021A2 #8121A2 #A22182
triadic
#8121A2 #A28121 #21A281
tetradic
#8121A2 #A24021 #42A221 #2182A2
square
#8121A2 #A24021 #42A221 #2182A2
split-complementary
#8121A2 #82A221 #21A240
monochromatic
#300C3C #59176F #8121A2 #A92CD4 #BE5FDE

Accessibility & contrast

On white

7.86
#8121A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8121A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121A2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121A2#FFFFFF#000000##FFFFFF
##8121A21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#1C549F
Tritanopia (blue-blind)
#7E3F62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8121a2;
/* rgb */ color: rgb(129, 33, 162);
/* oklch */ color: oklch(46.3% 0.199 315.4);
Tailwind
colors: {
  custom: {
    50: '#aa69be',
    500: '#8121a2',
    950: '#000000',
  },
}
SCSS
$custom: #8121a2;
$custom-light: #aa69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8121a2",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 284.651,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.1989,
    "h": 315.4
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#8121A2
secondary
#76C35C
accent
#E93F6A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8121A2

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

Preview Lab → · Contrast checker → · Palette generator →

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