#8121A7#8121A7

#8121A7 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.203 H 313.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8121A7
RGBrgb(129, 33, 167)
HSLhsl(283, 67%, 39%)
HSVhsv(283, 80%, 65%)
CMYKcmyk(22.8%, 80.2%, 0%, 34.5%)
CIE-LABlab(35.09, 59.09, -51.88)
CIE-LCHlch(35.09, 78.64, 318.72°)
OKLaboklab(46.71% 0.1407 -0.1467)
OKLCHoklch(46.71% 0.203 313.8)
XYZxyz(16.5710, 8.5454, 37.3283)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8121A7 #47A721
analogous
#3E21A7 #8121A7 #A7218A
triadic
#8121A7 #A78121 #21A781
tetradic
#8121A7 #A73E21 #47A721 #218AA7
square
#8121A7 #A73E21 #47A721 #218AA7
split-complementary
#8121A7 #8AA721 #21A73E
monochromatic
#320D41 #5A1774 #8121A7 #A72FD6 #BC62E0

Accessibility & contrast

On white

7.75
#8121A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8121A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8121A7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8121A7#FFFFFF#000000##FFFFFF
##8121A71.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1155A4
Tritanopia (blue-blind)
#7D4265
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8121a7;
/* rgb */ color: rgb(129, 33, 167);
/* oklch */ color: oklch(46.7% 0.203 313.8);
Tailwind
colors: {
  custom: {
    50: '#aa69c2',
    500: '#8121a7',
    950: '#000000',
  },
}
SCSS
$custom: #8121a7;
$custom-light: #aa69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8121a7",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 282.985,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.2033,
    "h": 313.8
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#8121A7
secondary
#7CC55F
accent
#EA3E6F
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8121A7

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

Preview Lab → · Contrast checker → · Palette generator →

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