#8123AD#8123AD

#8123AD is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.207 H 311.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8123AD
RGBrgb(129, 35, 173)
HSLhsl(281, 66%, 41%)
HSVhsv(281, 80%, 68%)
CMYKcmyk(25.4%, 79.8%, 0%, 32.2%)
CIE-LABlab(35.77, 59.66, -54.39)
CIE-LCHlch(35.77, 80.73, 317.65°)
OKLaboklab(47.32% 0.1379 -0.1541)
OKLCHoklch(47.32% 0.207 311.8)
XYZxyz(17.1957, 8.8868, 40.3365)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123AD #4FAD23
analogous
#3C23AD #8123AD #AD2394
triadic
#8123AD #AD8123 #23AD81
tetradic
#8123AD #AD3C23 #4FAD23 #2394AD
square
#8123AD #AD3C23 #4FAD23 #2394AD
split-complementary
#8123AD #94AD23 #23AD3C
monochromatic
#350E47 #5B197A #8123AD #A437D6 #BB6AE1

Accessibility & contrast

On white

7.56
#8123AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8123AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8123AD#FFFFFF#000000##FFFFFF
##8123AD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#7B4568
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8123ad;
/* rgb */ color: rgb(129, 35, 173);
/* oklch */ color: oklch(47.3% 0.207 311.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ac6',
    500: '#8123ad',
    950: '#000000',
  },
}
SCSS
$custom: #8123ad;
$custom-light: #aa6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8123ad",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 280.87,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.20678,
    "h": 311.8
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#8123AD
secondary
#84C765
accent
#E93F75
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8123AD

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

Preview Lab → · Contrast checker → · Palette generator →

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