#8123AE#8123AE

#8123AE is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.208 H 311.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8123AE
RGBrgb(129, 35, 174)
HSLhsl(281, 67%, 41%)
HSVhsv(281, 80%, 68%)
CMYKcmyk(25.9%, 79.9%, 0%, 31.8%)
CIE-LABlab(35.84, 59.87, -54.86)
CIE-LCHlch(35.84, 81.21, 317.50°)
OKLaboklab(47.4% 0.1377 -0.1555)
OKLCHoklch(47.4% 0.208 311.5)
XYZxyz(17.2928, 8.9256, 40.8481)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123AE #50AE23
analogous
#3C23AE #8123AE #AE2395
triadic
#8123AE #AE8123 #23AE81
tetradic
#8123AE #AE3C23 #50AE23 #2395AE
square
#8123AE #AE3C23 #50AE23 #2395AE
split-complementary
#8123AE #95AE23 #23AE3C
monochromatic
#350F48 #5B197B #8123AE #A337D7 #BB6AE1

Accessibility & contrast

On white

7.54
#8123AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8123AE#FFFFFF#000000##FFFFFF
##8123AE1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#7B4669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8123ae;
/* rgb */ color: rgb(129, 35, 174);
/* oklch */ color: oklch(47.4% 0.208 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa6ac7',
    500: '#8123ae',
    950: '#000000',
  },
}
SCSS
$custom: #8123ae;
$custom-light: #aa6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8123ae",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 280.576,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.20769,
    "h": 311.5
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#8123AE
secondary
#85C766
accent
#E93E76
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8123AE

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

Preview Lab → · Contrast checker → · Palette generator →

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