#8122A2#8122A2

#8122A2 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.198 H 315.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8122A2
RGBrgb(129, 34, 162)
HSLhsl(285, 65%, 38%)
HSVhsv(285, 79%, 64%)
CMYKcmyk(20.4%, 79%, 0%, 36.5%)
CIE-LABlab(34.84, 57.76, -49.28)
CIE-LCHlch(34.84, 75.92, 319.53°)
OKLaboklab(46.42% 0.1409 -0.1391)
OKLCHoklch(46.42% 0.198 315.4)
XYZxyz(16.1458, 8.4204, 34.9502)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122A2 #43A222
analogous
#4122A2 #8122A2 #A22283
triadic
#8122A2 #A28122 #22A281
tetradic
#8122A2 #A24122 #43A222 #2283A2
square
#8122A2 #A24122 #43A222 #2283A2
split-complementary
#8122A2 #83A222 #22A241
monochromatic
#300D3D #59176F #8122A2 #A92ED3 #BE61DE

Accessibility & contrast

On white

7.82
#8122A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8122A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8122A2#FFFFFF#000000##FFFFFF
##8122A21.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1D549F
Tritanopia (blue-blind)
#7E4062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8122a2;
/* rgb */ color: rgb(129, 34, 162);
/* oklch */ color: oklch(46.4% 0.198 315.4);
Tailwind
colors: {
  custom: {
    50: '#aa69be',
    500: '#8122a2',
    950: '#000000',
  },
}
SCSS
$custom: #8122a2;
$custom-light: #aa69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8122a2",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 284.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.19794,
    "h": 315.4
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#8122A2
secondary
#77C35D
accent
#E8406B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8122A2

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

Preview Lab → · Contrast checker → · Palette generator →

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