#8122AF#8122AF

#8122AF is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.209 H 311.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8122AF
RGBrgb(129, 34, 175)
HSLhsl(280, 67%, 41%)
HSVhsv(280, 81%, 69%)
CMYKcmyk(26.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(35.80, 60.40, -55.52)
CIE-LCHlch(35.80, 82.04, 317.41°)
OKLaboklab(47.4% 0.1382 -0.1574)
OKLCHoklch(47.4% 0.209 311.3)
XYZxyz(17.3617, 8.9068, 41.3537)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122AF #50AF22
analogous
#3B22AF #8122AF #AF2296
triadic
#8122AF #AF8122 #22AF81
tetradic
#8122AF #AF3B22 #50AF22 #2296AF
square
#8122AF #AF3B22 #50AF22 #2296AF
split-complementary
#8122AF #96AF22 #22AF3B
monochromatic
#350E49 #5B187C #8122AF #A336D8 #BB69E2

Accessibility & contrast

On white

7.55
#8122AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8122AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8122AF#FFFFFF#000000##FFFFFF
##8122AF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#7B4669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8122af;
/* rgb */ color: rgb(129, 34, 175);
/* oklch */ color: oklch(47.4% 0.209 311.3);
Tailwind
colors: {
  custom: {
    50: '#ab6ac8',
    500: '#8122af',
    950: '#000000',
  },
}
SCSS
$custom: #8122af;
$custom-light: #ab6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8122af",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 280.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.20949,
    "h": 311.3
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#8122AF
secondary
#85C865
accent
#EA3D76
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8122AF

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

Preview Lab → · Contrast checker → · Palette generator →

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