#8142AA#8142AA

#8142AA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.165 H 309.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8142AA
RGBrgb(129, 66, 170)
HSLhsl(276, 44%, 46%)
HSVhsv(276, 61%, 67%)
CMYKcmyk(24.1%, 61.2%, 0%, 33.3%)
CIE-LABlab(40.35, 45.58, -45.20)
CIE-LCHlch(40.35, 64.19, 315.24°)
OKLaboklab(50.54% 0.1056 -0.1273)
OKLCHoklch(50.54% 0.165 309.7)
XYZxyz(18.2558, 11.4662, 39.2739)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142AA #6BAA42
analogous
#4D42AA #8142AA #AA429F
triadic
#8142AA #AA8142 #42AA81
tetradic
#8142AA #AA4D42 #6BAA42 #429FAA
square
#8142AA #AA4D42 #6BAA42 #429FAA
split-complementary
#8142AA #9FAA42 #42AA4D
monochromatic
#3E2052 #60317E #8142AA #9F66C3 #BA92D5

Accessibility & contrast

On white

6.38
#8142AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8142AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142AA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142AA#FFFFFF#000000##FFFFFF
##8142AA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#7B5670
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8142aa;
/* rgb */ color: rgb(129, 66, 170);
/* oklch */ color: oklch(50.5% 0.165 309.7);
Tailwind
colors: {
  custom: {
    50: '#a97ac4',
    500: '#8142aa',
    950: '#000000',
  },
}
SCSS
$custom: #8142aa;
$custom-light: #a97ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8142aa",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 276.346,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.16541,
    "h": 309.7
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#8142AA
secondary
#9EC088
accent
#D45486
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8142AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8142AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva