#8120AB#8120AB

#8120AB is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.208 H 312.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8120AB
RGBrgb(129, 32, 171)
HSLhsl(282, 68%, 40%)
HSVhsv(282, 81%, 67%)
CMYKcmyk(24.6%, 81.3%, 0%, 32.9%)
CIE-LABlab(35.28, 60.22, -53.98)
CIE-LCHlch(35.28, 80.87, 318.13°)
OKLaboklab(46.94% 0.1406 -0.1529)
OKLCHoklch(46.94% 0.208 312.6)
XYZxyz(16.9191, 8.6409, 39.2968)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8120AB #4AAB20
analogous
#3C20AB #8120AB #AB208F
triadic
#8120AB #AB8120 #20AB81
tetradic
#8120AB #AB3C20 #4AAB20 #208FAB
square
#8120AB #AB3C20 #4AAB20 #208FAB
split-complementary
#8120AB #8FAB20 #20AB3C
monochromatic
#330D44 #5A1677 #8120AB #A530D8 #BC63E2

Accessibility & contrast

On white

7.70
#8120AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8120AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8120AB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8120AB#FFFFFF#000000##FFFFFF
##8120AB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#7C4367
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8120ab;
/* rgb */ color: rgb(129, 32, 171);
/* oklch */ color: oklch(46.9% 0.208 312.6);
Tailwind
colors: {
  custom: {
    50: '#aa69c5',
    500: '#8120ab',
    950: '#000000',
  },
}
SCSS
$custom: #8120ab;
$custom-light: #aa69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8120ab",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 281.871,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.20772,
    "h": 312.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#8120AB
secondary
#7FC760
accent
#EB3C71
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8120AB

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

Preview Lab → · Contrast checker → · Palette generator →

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