#8140AC#8140AC

#8140AC is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.4% C 0.171 H 309.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8140AC
RGBrgb(129, 64, 172)
HSLhsl(276, 46%, 46%)
HSVhsv(276, 63%, 67%)
CMYKcmyk(25%, 62.8%, 0%, 32.5%)
CIE-LABlab(40.10, 47.06, -46.80)
CIE-LCHlch(40.10, 66.37, 315.16°)
OKLaboklab(50.39% 0.108 -0.132)
OKLCHoklch(50.39% 0.171 309.3)
XYZxyz(18.3316, 11.3128, 40.2396)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140AC #6BAC40
analogous
#4B40AC #8140AC #AC40A1
triadic
#8140AC #AC8140 #40AC81
tetradic
#8140AC #AC4B40 #6BAC40 #40A1AC
square
#8140AC #AC4B40 #6BAC40 #40A1AC
split-complementary
#8140AC #A1AC40 #40AC4B
monochromatic
#3E1F53 #602F7F #8140AC #9F64C5 #BA91D6

Accessibility & contrast

On white

6.44
#8140AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8140AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140AC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140AC#FFFFFF#000000##FFFFFF
##8140AC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#7B5570
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8140ac;
/* rgb */ color: rgb(129, 64, 172);
/* oklch */ color: oklch(50.4% 0.171 309.3);
Tailwind
colors: {
  custom: {
    50: '#a979c5',
    500: '#8140ac',
    950: '#000000',
  },
}
SCSS
$custom: #8140ac;
$custom-light: #a979c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8140ac",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 276.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.17057,
    "h": 309.3
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#8140AC
secondary
#9EC187
accent
#D55287
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8140AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8140AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva