#8147AA#8147AA

#8147AA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.158 H 308.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8147AA
RGBrgb(129, 71, 170)
HSLhsl(275, 41%, 47%)
HSVhsv(275, 58%, 67%)
CMYKcmyk(24.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(41.34, 42.94, -43.63)
CIE-LCHlch(41.34, 61.22, 314.54°)
OKLaboklab(51.25% 0.0991 -0.1227)
OKLCHoklch(51.25% 0.158 308.9)
XYZxyz(18.5608, 12.0762, 39.3756)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147AA #70AA47
analogous
#5047AA #8147AA #AA47A1
triadic
#8147AA #AA8147 #47AA81
tetradic
#8147AA #AA5047 #70AA47 #47A1AA
square
#8147AA #AA5047 #70AA47 #47A1AA
split-complementary
#8147AA #A1AA47 #47AA50
monochromatic
#3F2354 #60357F #8147AA #9E6CC2 #BB98D4

Accessibility & contrast

On white

6.15
#8147AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8147AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147AA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147AA#FFFFFF#000000##FFFFFF
##8147AA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#3B62A8
Tritanopia (blue-blind)
#7B5972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8147aa;
/* rgb */ color: rgb(129, 71, 170);
/* oklch */ color: oklch(51.3% 0.158 308.9);
Tailwind
colors: {
  custom: {
    50: '#a87dc4',
    500: '#8147aa',
    950: '#000000',
  },
}
SCSS
$custom: #8147aa;
$custom-light: #a87dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8147aa",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 275.152,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.15776,
    "h": 308.9
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#8147AA
secondary
#A2C08D
accent
#D15789
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8147AA

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

Preview Lab → · Contrast checker → · Palette generator →

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