#8127AE#8127AE

#8127AE is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.7% C 0.204 H 311.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8127AE
RGBrgb(129, 39, 174)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 78%, 68%)
CMYKcmyk(25.9%, 77.6%, 0%, 31.8%)
CIE-LABlab(36.32, 58.49, -54.09)
CIE-LCHlch(36.32, 79.67, 317.24°)
OKLaboklab(47.73% 0.1344 -0.1532)
OKLCHoklch(47.73% 0.204 311.2)
XYZxyz(17.4173, 9.1746, 40.8896)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127AE #54AE27
analogous
#3E27AE #8127AE #AE2798
triadic
#8127AE #AE8127 #27AE81
tetradic
#8127AE #AE3E27 #54AE27 #2798AE
square
#8127AE #AE3E27 #54AE27 #2798AE
split-complementary
#8127AE #98AE27 #27AE3E
monochromatic
#37114A #5C1C7C #8127AE #A23ED4 #BA70DF

Accessibility & contrast

On white

7.41
#8127AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8127AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127AE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127AE#FFFFFF#000000##FFFFFF
##8127AE1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0557AB
Tritanopia (blue-blind)
#7B486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8127ae;
/* rgb */ color: rgb(129, 39, 174);
/* oklch */ color: oklch(47.7% 0.204 311.2);
Tailwind
colors: {
  custom: {
    50: '#aa6cc7',
    500: '#8127ae',
    950: '#000000',
  },
}
SCSS
$custom: #8127ae;
$custom-light: #aa6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8127ae",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 280,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.20381,
    "h": 311.2
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#8127AE
secondary
#89C66B
accent
#E64178
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8127AE

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

Preview Lab → · Contrast checker → · Palette generator →

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