#8122AA#8122AA

#8122AA is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.205 H 312.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8122AA
RGBrgb(129, 34, 170)
HSLhsl(282, 67%, 40%)
HSVhsv(282, 80%, 67%)
CMYKcmyk(24.1%, 80%, 0%, 33.3%)
CIE-LABlab(35.43, 59.38, -53.14)
CIE-LCHlch(35.43, 79.68, 318.17°)
OKLaboklab(47.02% 0.1393 -0.1504)
OKLCHoklch(47.02% 0.205 312.8)
XYZxyz(16.8797, 8.7140, 38.8152)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122AA #4BAA22
analogous
#3D22AA #8122AA #AA228F
triadic
#8122AA #AA8122 #22AA81
tetradic
#8122AA #AA3D22 #4BAA22 #228FAA
square
#8122AA #AA3D22 #4BAA22 #228FAA
split-complementary
#8122AA #8FAA22 #22AA3D
monochromatic
#340E44 #5A1877 #8122AA #A533D6 #BC66E0

Accessibility & contrast

On white

7.66
#8122AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8122AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8122AA#FFFFFF#000000##FFFFFF
##8122AA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0955A7
Tritanopia (blue-blind)
#7C4467
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8122aa;
/* rgb */ color: rgb(129, 34, 170);
/* oklch */ color: oklch(47.0% 0.205 312.8);
Tailwind
colors: {
  custom: {
    50: '#aa69c4',
    500: '#8122aa',
    950: '#000000',
  },
}
SCSS
$custom: #8122aa;
$custom-light: #aa69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8122aa",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 281.912,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.20503,
    "h": 312.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#8122AA
secondary
#80C662
accent
#EA3E72
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8122AA

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

Preview Lab → · Contrast checker → · Palette generator →

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