#8127AA#8127AA

#8127AA is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.4% C 0.200 H 312.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8127AA
RGBrgb(129, 39, 170)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 77%, 67%)
CMYKcmyk(24.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(36.02, 57.65, -52.18)
CIE-LCHlch(36.02, 77.76, 317.85°)
OKLaboklab(47.44% 0.1351 -0.1476)
OKLCHoklch(47.44% 0.2 312.5)
XYZxyz(17.0332, 9.0209, 38.8664)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127AA #50AA27
analogous
#3F27AA #8127AA #AA2791
triadic
#8127AA #AA8127 #27AA81
tetradic
#8127AA #AA3F27 #50AA27 #2791AA
square
#8127AA #AA3F27 #50AA27 #2791AA
split-complementary
#8127AA #91AA27 #27AA3F
monochromatic
#351046 #5B1C78 #8127AA #A33CD2 #BB6EDE

Accessibility & contrast

On white

7.49
#8127AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8127AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8127AA#FFFFFF#000000##FFFFFF
##8127AA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#1357A7
Tritanopia (blue-blind)
#7C4668
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8127aa;
/* rgb */ color: rgb(129, 39, 170);
/* oklch */ color: oklch(47.4% 0.200 312.5);
Tailwind
colors: {
  custom: {
    50: '#aa6bc4',
    500: '#8127aa',
    950: '#000000',
  },
}
SCSS
$custom: #8127aa;
$custom-light: #aa6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8127aa",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 281.221,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.20013,
    "h": 312.5
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#8127AA
secondary
#85C469
accent
#E64275
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8127AA

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

Preview Lab → · Contrast checker → · Palette generator →

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