#8122A8#8122A8

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

Color values

HEX#8122A8
RGBrgb(129, 34, 168)
HSLhsl(283, 66%, 40%)
HSVhsv(283, 80%, 66%)
CMYKcmyk(23.2%, 79.8%, 0%, 34.1%)
CIE-LABlab(35.28, 58.97, -52.18)
CIE-LCHlch(35.28, 78.74, 318.49°)
OKLaboklab(46.87% 0.1397 -0.1476)
OKLCHoklch(46.87% 0.203 313.4)
XYZxyz(16.6919, 8.6389, 37.8264)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8122A8 #49A822
analogous
#3E22A8 #8122A8 #A8228C
triadic
#8122A8 #A88122 #22A881
tetradic
#8122A8 #A83E22 #49A822 #228CA8
square
#8122A8 #A83E22 #49A822 #228CA8
split-complementary
#8122A8 #8CA822 #22A83E
monochromatic
#330D42 #5A1875 #8122A8 #A632D5 #BC65E0

Accessibility & contrast

On white

7.70
#8122A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8122A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8122A8#FFFFFF#000000##FFFFFF
##8122A81.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)
#004EAC
Deuteranopia (green-blind)
#1055A5
Tritanopia (blue-blind)
#7D4365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8122a8;
/* rgb */ color: rgb(129, 34, 168);
/* oklch */ color: oklch(46.9% 0.203 313.4);
Tailwind
colors: {
  custom: {
    50: '#aa69c3',
    500: '#8122a8',
    950: '#000000',
  },
}
SCSS
$custom: #8122a8;
$custom-light: #aa69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8122a8",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 282.537,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.20326,
    "h": 313.4
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#8122A8
secondary
#7EC561
accent
#E93F70
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8122A8

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

Preview Lab → · Contrast checker → · Palette generator →

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