#8127AD#8127AD

#8127AD is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.203 H 311.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8127AD
RGBrgb(129, 39, 173)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 77%, 68%)
CMYKcmyk(25.4%, 77.5%, 0%, 32.2%)
CIE-LABlab(36.24, 58.28, -53.61)
CIE-LCHlch(36.24, 79.19, 317.39°)
OKLaboklab(47.66% 0.1346 -0.1519)
OKLCHoklch(47.66% 0.203 311.5)
XYZxyz(17.3202, 9.1358, 40.3780)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127AD #53AD27
analogous
#3E27AD #8127AD #AD2796
triadic
#8127AD #AD8127 #27AD81
tetradic
#8127AD #AD3E27 #53AD27 #2796AD
square
#8127AD #AD3E27 #53AD27 #2796AD
split-complementary
#8127AD #96AD27 #27AD3E
monochromatic
#371049 #5C1C7B #8127AD #A23ED3 #BA70DF

Accessibility & contrast

On white

7.43
#8127AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8127AD#FFFFFF#000000##FFFFFF
##8127AD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0957AA
Tritanopia (blue-blind)
#7B4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8127ad;
/* rgb */ color: rgb(129, 39, 173);
/* oklch */ color: oklch(47.7% 0.203 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cc6',
    500: '#8127ad',
    950: '#000000',
  },
}
SCSS
$custom: #8127ad;
$custom-light: #aa6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8127ad",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 280.299,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47659,
    "c": 0.20288,
    "h": 311.5
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#8127AD
secondary
#88C66A
accent
#E64278
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8127AD

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

Preview Lab → · Contrast checker → · Palette generator →

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