#8140BB#8140BB

#8140BB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.187 H 304.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8140BB
RGBrgb(129, 64, 187)
HSLhsl(272, 49%, 49%)
HSVhsv(272, 66%, 73%)
CMYKcmyk(31%, 65.8%, 0%, 26.7%)
CIE-LABlab(41.09, 50.59, -54.05)
CIE-LCHlch(41.09, 74.03, 313.10°)
OKLaboklab(51.42% 0.1071 -0.1533)
OKLCHoklch(51.42% 0.187 304.9)
XYZxyz(19.8543, 11.9219, 48.2593)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140BB #7ABB40
analogous
#4340BB #8140BB #BB40B8
triadic
#8140BB #BB8140 #40BB81
tetradic
#8140BB #BB4340 #7ABB40 #40B8BB
square
#8140BB #BB4340 #7ABB40 #40B8BB
split-complementary
#8140BB #B8BB40 #40BB43
monochromatic
#422160 #62308D #8140BB #9F6CCD #BD99DC

Accessibility & contrast

On white

6.20
#8140BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8140BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140BB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140BB#FFFFFF#000000##FFFFFF
##8140BB1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#1C61B8
Tritanopia (blue-blind)
#775B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8140bb;
/* rgb */ color: rgb(129, 64, 187);
/* oklch */ color: oklch(51.4% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa79d0',
    500: '#8140bb',
    950: '#000000',
  },
}
SCSS
$custom: #8140bb;
$custom-light: #aa79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8140bb",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 271.707,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.187,
    "h": 304.9
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#8140BB
secondary
#AAC88F
accent
#D94F90
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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