#8128AE#8128AE

#8128AE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.203 H 311.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8128AE
RGBrgb(129, 40, 174)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 77%, 68%)
CMYKcmyk(25.9%, 77%, 0%, 31.8%)
CIE-LABlab(36.44, 58.13, -53.89)
CIE-LCHlch(36.44, 79.26, 317.17°)
OKLaboklab(47.82% 0.1335 -0.1527)
OKLCHoklch(47.82% 0.203 311.2)
XYZxyz(17.4506, 9.2411, 40.9006)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128AE #55AE28
analogous
#3E28AE #8128AE #AE2898
triadic
#8128AE #AE8128 #28AE81
tetradic
#8128AE #AE3E28 #55AE28 #2898AE
square
#8128AE #AE3E28 #55AE28 #2898AE
split-complementary
#8128AE #98AE28 #28AE3E
monochromatic
#37114A #5C1D7C #8128AE #A240D3 #BA72DF

Accessibility & contrast

On white

7.37
#8128AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8128AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128AE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128AE#FFFFFF#000000##FFFFFF
##8128AE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0857AB
Tritanopia (blue-blind)
#7B486A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8128ae;
/* rgb */ color: rgb(129, 40, 174);
/* oklch */ color: oklch(47.8% 0.203 311.2);
Tailwind
colors: {
  custom: {
    50: '#aa6cc7',
    500: '#8128ae',
    950: '#000000',
  },
}
SCSS
$custom: #8128ae;
$custom-light: #aa6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8128ae",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 279.851,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.20279,
    "h": 311.2
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#8128AE
secondary
#8AC66C
accent
#E64279
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8128AE

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

Preview Lab → · Contrast checker → · Palette generator →

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