#8123AA#8123AA

#8123AA is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.204 H 312.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8123AA
RGBrgb(129, 35, 170)
HSLhsl(282, 66%, 40%)
HSVhsv(282, 79%, 67%)
CMYKcmyk(24.1%, 79.4%, 0%, 33.3%)
CIE-LABlab(35.54, 59.05, -52.96)
CIE-LCHlch(35.54, 79.32, 318.11°)
OKLaboklab(47.1% 0.1385 -0.1499)
OKLCHoklch(47.1% 0.204 312.7)
XYZxyz(16.9087, 8.7720, 38.8249)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123AA #4CAA23
analogous
#3E23AA #8123AA #AA238F
triadic
#8123AA #AA8123 #23AA81
tetradic
#8123AA #AA3E23 #4CAA23 #238FAA
square
#8123AA #AA3E23 #4CAA23 #238FAA
split-complementary
#8123AA #8FAA23 #23AA3E
monochromatic
#340E44 #5A1977 #8123AA #A535D5 #BB68E0

Accessibility & contrast

On white

7.62
#8123AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8123AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123AA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123AA#FFFFFF#000000##FFFFFF
##8123AA1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0B55A7
Tritanopia (blue-blind)
#7C4467
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8123aa;
/* rgb */ color: rgb(129, 35, 170);
/* oklch */ color: oklch(47.1% 0.204 312.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ac4',
    500: '#8123aa',
    950: '#000000',
  },
}
SCSS
$custom: #8123aa;
$custom-light: #aa6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8123aa",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 281.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47095,
    "c": 0.2041,
    "h": 312.7
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#8123AA
secondary
#81C663
accent
#E93F73
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8123AA

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

Preview Lab → · Contrast checker → · Palette generator →

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