#8140BF#8140BF

#8140BF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.191 H 303.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8140BF
RGBrgb(129, 64, 191)
HSLhsl(271, 50%, 50%)
HSVhsv(271, 66%, 75%)
CMYKcmyk(32.5%, 66.5%, 0%, 25.1%)
CIE-LABlab(41.37, 51.54, -55.95)
CIE-LCHlch(41.37, 76.07, 312.65°)
OKLaboklab(51.71% 0.1067 -0.1589)
OKLCHoklch(51.71% 0.191 303.9)
XYZxyz(20.2885, 12.0956, 50.5459)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140BF #7EBF40
analogous
#4240BF #8140BF #BF40BD
triadic
#8140BF #BF8140 #40BF81
tetradic
#8140BF #BF4240 #7EBF40 #40BDBF
square
#8140BF #BF4240 #7EBF40 #40BDBF
split-complementary
#8140BF #BDBF40 #40BF42
monochromatic
#432163 #623191 #8140BF #9F6ECE #BD9CDE

Accessibility & contrast

On white

6.14
#8140BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8140BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140BF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140BF#FFFFFF#000000##FFFFFF
##8140BF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8140bf;
/* rgb */ color: rgb(129, 64, 191);
/* oklch */ color: oklch(51.7% 0.191 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa79d3',
    500: '#8140bf',
    950: '#000000',
  },
}
SCSS
$custom: #8140bf;
$custom-light: #aa79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8140bf",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 270.709,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.19138,
    "h": 303.9
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#8140BF
secondary
#ADCA91
accent
#D94E92
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8140BF

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

Preview Lab → · Contrast checker → · Palette generator →

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