#8140AF#8140AF

#8140AF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.174 H 308.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8140AF
RGBrgb(129, 64, 175)
HSLhsl(275, 46%, 47%)
HSVhsv(275, 63%, 69%)
CMYKcmyk(26.3%, 63.4%, 0%, 31.4%)
CIE-LABlab(40.29, 47.76, -48.27)
CIE-LCHlch(40.29, 67.90, 314.70°)
OKLaboklab(50.59% 0.1079 -0.1363)
OKLCHoklch(50.59% 0.174 308.4)
XYZxyz(18.6230, 11.4293, 41.7742)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140AF #6EAF40
analogous
#4940AF #8140AF #AF40A6
triadic
#8140AF #AF8140 #40AF81
tetradic
#8140AF #AF4940 #6EAF40 #40A6AF
square
#8140AF #AF4940 #6EAF40 #40A6AF
split-complementary
#8140AF #A6AF40 #40AF49
monochromatic
#3F1F55 #603082 #8140AF #9E65C7 #BB92D7

Accessibility & contrast

On white

6.39
#8140AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8140AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140AF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140AF#FFFFFF#000000##FFFFFF
##8140AF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#7A5672
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8140af;
/* rgb */ color: rgb(129, 64, 175);
/* oklch */ color: oklch(50.6% 0.174 308.4);
Tailwind
colors: {
  custom: {
    50: '#a979c7',
    500: '#8140af',
    950: '#000000',
  },
}
SCSS
$custom: #8140af;
$custom-light: #a979c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8140af",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 275.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.17385,
    "h": 308.4
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#8140AF
secondary
#A0C388
accent
#D65289
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8140AF

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

Preview Lab → · Contrast checker → · Palette generator →

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