#8123A6#8123A6

#8123A6 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.201 H 314.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8123A6
RGBrgb(129, 35, 166)
HSLhsl(283, 65%, 39%)
HSVhsv(283, 79%, 65%)
CMYKcmyk(22.3%, 78.9%, 0%, 34.9%)
CIE-LABlab(35.25, 58.23, -51.03)
CIE-LCHlch(35.25, 77.43, 318.77°)
OKLaboklab(46.8% 0.1393 -0.1442)
OKLCHoklch(46.8% 0.201 314)
XYZxyz(16.5360, 8.6229, 36.8623)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A6 #48A623
analogous
#3F23A6 #8123A6 #A6238A
triadic
#8123A6 #A68123 #23A681
tetradic
#8123A6 #A63F23 #48A623 #238AA6
square
#8123A6 #A63F23 #48A623 #238AA6
split-complementary
#8123A6 #8AA623 #23A63F
monochromatic
#320E41 #5A1873 #8123A6 #A632D4 #BC65DF

Accessibility & contrast

On white

7.71
#8123A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8123A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8123A6#FFFFFF#000000##FFFFFF
##8123A61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#1655A3
Tritanopia (blue-blind)
#7D4264
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8123a6;
/* rgb */ color: rgb(129, 35, 166);
/* oklch */ color: oklch(46.8% 0.201 314.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ac1',
    500: '#8123a6',
    950: '#000000',
  },
}
SCSS
$custom: #8123a6;
$custom-light: #aa6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a6",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 283.053,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.20052,
    "h": 314
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#8123A6
secondary
#7DC461
accent
#E8406F
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A6

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

Preview Lab → · Contrast checker → · Palette generator →

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