#8120A2#8120A2

#8120A2 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.200 H 315.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8120A2
RGBrgb(129, 32, 162)
HSLhsl(285, 67%, 38%)
HSVhsv(285, 80%, 64%)
CMYKcmyk(20.4%, 80.2%, 0%, 36.5%)
CIE-LABlab(34.62, 58.41, -49.64)
CIE-LCHlch(34.62, 76.65, 319.64°)
OKLaboklab(46.26% 0.1425 -0.1401)
OKLCHoklch(46.26% 0.2 315.5)
XYZxyz(16.0903, 8.3094, 34.9317)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8120A2 #41A220
analogous
#4020A2 #8120A2 #A22082
triadic
#8120A2 #A28120 #20A281
tetradic
#8120A2 #A24020 #41A220 #2082A2
square
#8120A2 #A24020 #41A220 #2082A2
split-complementary
#8120A2 #82A220 #20A240
monochromatic
#300C3C #58166F #8120A2 #AA2AD5 #BE5DDF

Accessibility & contrast

On white

7.89
#8120A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8120A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8120A2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8120A2#FFFFFF#000000##FFFFFF
##8120A21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#1B549F
Tritanopia (blue-blind)
#7E3F61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8120a2;
/* rgb */ color: rgb(129, 32, 162);
/* oklch */ color: oklch(46.3% 0.200 315.5);
Tailwind
colors: {
  custom: {
    50: '#aa68be',
    500: '#8120a2',
    950: '#000000',
  },
}
SCSS
$custom: #8120a2;
$custom-light: #aa68be;
$custom-dark: #000000;
JSON
{
  "hex": "#8120a2",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 284.769,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46263,
    "c": 0.19984,
    "h": 315.5
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#8120A2
secondary
#75C35A
accent
#EA3E6A
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8120A2

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

Preview Lab → · Contrast checker → · Palette generator →

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