#8140BD#8140BD

#8140BD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.189 H 304.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8140BD
RGBrgb(129, 64, 189)
HSLhsl(271, 49%, 50%)
HSVhsv(271, 66%, 74%)
CMYKcmyk(31.7%, 66.1%, 0%, 25.9%)
CIE-LABlab(41.23, 51.06, -55.00)
CIE-LCHlch(41.23, 75.05, 312.87°)
OKLaboklab(51.57% 0.1069 -0.1561)
OKLCHoklch(51.57% 0.189 304.4)
XYZxyz(20.0699, 12.0081, 49.3947)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140BD #7CBD40
analogous
#4340BD #8140BD #BD40BB
triadic
#8140BD #BD8140 #40BD81
tetradic
#8140BD #BD4340 #7CBD40 #40BBBD
square
#8140BD #BD4340 #7CBD40 #40BBBD
split-complementary
#8140BD #BBBD40 #40BD43
monochromatic
#432162 #62318F #8140BD #9F6DCD #BD9ADD

Accessibility & contrast

On white

6.17
#8140BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8140BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140BD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140BD#FFFFFF#000000##FFFFFF
##8140BD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#765B79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8140bd;
/* rgb */ color: rgb(129, 64, 189);
/* oklch */ color: oklch(51.6% 0.189 304.4);
Tailwind
colors: {
  custom: {
    50: '#aa79d2',
    500: '#8140bd',
    950: '#000000',
  },
}
SCSS
$custom: #8140bd;
$custom-light: #aa79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8140bd",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 271.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.1892,
    "h": 304.4
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#8140BD
secondary
#ABC990
accent
#D94F91
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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