#8127A9#8127A9

#8127A9 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.199 H 312.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8127A9
RGBrgb(129, 39, 169)
HSLhsl(282, 63%, 41%)
HSVhsv(282, 77%, 66%)
CMYKcmyk(23.7%, 76.9%, 0%, 33.7%)
CIE-LABlab(35.95, 57.44, -51.69)
CIE-LCHlch(35.95, 77.28, 318.02°)
OKLaboklab(47.36% 0.1353 -0.1462)
OKLCHoklch(47.36% 0.199 312.8)
XYZxyz(16.9389, 8.9832, 38.3701)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127A9 #4FA927
analogous
#4027A9 #8127A9 #A92790
triadic
#8127A9 #A98127 #27A981
tetradic
#8127A9 #A94027 #4FA927 #2790A9
square
#8127A9 #A94027 #4FA927 #2790A9
split-complementary
#8127A9 #90A927 #27A940
monochromatic
#351046 #5B1C77 #8127A9 #A43BD2 #BB6DDD

Accessibility & contrast

On white

7.51
#8127A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8127A9#FFFFFF#000000##FFFFFF
##8127A91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1556A6
Tritanopia (blue-blind)
#7C4567
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8127a9;
/* rgb */ color: rgb(129, 39, 169);
/* oklch */ color: oklch(47.4% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#aa6bc3',
    500: '#8127a9',
    950: '#000000',
  },
}
SCSS
$custom: #8127a9;
$custom-light: #aa6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8127a9",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 281.538,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.19921,
    "h": 312.8
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#8127A9
secondary
#84C468
accent
#E64274
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8127A9

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

Preview Lab → · Contrast checker → · Palette generator →

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