#8127AC#8127AC

#8127AC is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.202 H 311.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8127AC
RGBrgb(129, 39, 172)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 77%, 67%)
CMYKcmyk(25%, 77.3%, 0%, 32.5%)
CIE-LABlab(36.17, 58.07, -53.14)
CIE-LCHlch(36.17, 78.71, 317.54°)
OKLaboklab(47.58% 0.1348 -0.1504)
OKLCHoklch(47.58% 0.202 311.8)
XYZxyz(17.2238, 9.0972, 39.8703)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127AC #52AC27
analogous
#3F27AC #8127AC #AC2795
triadic
#8127AC #AC8127 #27AC81
tetradic
#8127AC #AC3F27 #52AC27 #2795AC
square
#8127AC #AC3F27 #52AC27 #2795AC
split-complementary
#8127AC #95AC27 #27AC3F
monochromatic
#361048 #5C1C7A #8127AC #A33DD3 #BA6FDE

Accessibility & contrast

On white

7.45
#8127AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8127AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127AC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127AC#FFFFFF#000000##FFFFFF
##8127AC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#7C4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8127ac;
/* rgb */ color: rgb(129, 39, 172);
/* oklch */ color: oklch(47.6% 0.202 311.8);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8127ac',
    950: '#000000',
  },
}
SCSS
$custom: #8127ac;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8127ac",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 280.602,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.20197,
    "h": 311.8
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8127AC
secondary
#87C56A
accent
#E64277
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8127AC

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

Preview Lab → · Contrast checker → · Palette generator →

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