#8145AA#8145AA

#8145AA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.161 H 309.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8145AA
RGBrgb(129, 69, 170)
HSLhsl(276, 42%, 47%)
HSVhsv(276, 59%, 67%)
CMYKcmyk(24.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(40.94, 44.01, -44.27)
CIE-LCHlch(40.94, 62.42, 314.83°)
OKLaboklab(50.96% 0.1017 -0.1246)
OKLCHoklch(50.96% 0.161 309.2)
XYZxyz(18.4357, 11.8260, 39.3339)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145AA #6EAA45
analogous
#4F45AA #8145AA #AA45A0
triadic
#8145AA #AA8145 #45AA81
tetradic
#8145AA #AA4F45 #6EAA45 #45A0AA
square
#8145AA #AA4F45 #6EAA45 #45A0AA
split-complementary
#8145AA #A0AA45 #45AA4F
monochromatic
#3F2253 #60337E #8145AA #9E6AC2 #BB95D4

Accessibility & contrast

On white

6.24
#8145AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8145AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145AA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145AA#FFFFFF#000000##FFFFFF
##8145AA1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#3861A8
Tritanopia (blue-blind)
#7B5871
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8145aa;
/* rgb */ color: rgb(129, 69, 170);
/* oklch */ color: oklch(51.0% 0.161 309.2);
Tailwind
colors: {
  custom: {
    50: '#a87cc4',
    500: '#8145aa',
    950: '#000000',
  },
}
SCSS
$custom: #8145aa;
$custom-light: #a87cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8145aa",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 275.644,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.16086,
    "h": 309.2
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#8145AA
secondary
#A0C08B
accent
#D25688
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8145AA

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

Preview Lab → · Contrast checker → · Palette generator →

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