#8128AF#8128AF

#8128AF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.204 H 310.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8128AF
RGBrgb(129, 40, 175)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 77%, 69%)
CMYKcmyk(26.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(36.52, 58.34, -54.36)
CIE-LCHlch(36.52, 79.74, 317.02°)
OKLaboklab(47.9% 0.1333 -0.1541)
OKLCHoklch(47.9% 0.204 310.9)
XYZxyz(17.5484, 9.2803, 41.4160)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128AF #56AF28
analogous
#3E28AF #8128AF #AF2899
triadic
#8128AF #AF8128 #28AF81
tetradic
#8128AF #AF3E28 #56AF28 #2899AF
square
#8128AF #AF3E28 #56AF28 #2899AF
split-complementary
#8128AF #99AF28 #28AF3E
monochromatic
#38114B #5C1D7D #8128AF #A141D4 #BA73DF

Accessibility & contrast

On white

7.35
#8128AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8128AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8128AF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128AF#FFFFFF#000000##FFFFFF
##8128AF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0457AC
Tritanopia (blue-blind)
#7B496B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8128af;
/* rgb */ color: rgb(129, 40, 175);
/* oklch */ color: oklch(47.9% 0.204 310.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8128af',
    950: '#000000',
  },
}
SCSS
$custom: #8128af;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8128af",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 279.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.20372,
    "h": 310.9
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#8128AF
secondary
#8BC66D
accent
#E6427A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8128AF

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

Preview Lab → · Contrast checker → · Palette generator →

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