#8140BC#8140BC

#8140BC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.188 H 304.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8140BC
RGBrgb(129, 64, 188)
HSLhsl(271, 49%, 49%)
HSVhsv(271, 66%, 74%)
CMYKcmyk(31.4%, 66%, 0%, 26.3%)
CIE-LABlab(41.16, 50.82, -54.53)
CIE-LCHlch(41.16, 74.54, 312.99°)
OKLaboklab(51.5% 0.107 -0.1547)
OKLCHoklch(51.5% 0.188 304.7)
XYZxyz(19.9617, 11.9649, 48.8250)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140BC #7BBC40
analogous
#4340BC #8140BC #BC40B9
triadic
#8140BC #BC8140 #40BC81
tetradic
#8140BC #BC4340 #7BBC40 #40B9BC
square
#8140BC #BC4340 #7BBC40 #40B9BC
split-complementary
#8140BC #B9BC40 #40BC43
monochromatic
#422161 #62308E #8140BC #9F6CCD #BD9ADD

Accessibility & contrast

On white

6.19
#8140BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8140BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140BC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140BC#FFFFFF#000000##FFFFFF
##8140BC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#765B78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8140bc;
/* rgb */ color: rgb(129, 64, 188);
/* oklch */ color: oklch(51.5% 0.188 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa79d1',
    500: '#8140bc',
    950: '#000000',
  },
}
SCSS
$custom: #8140bc;
$custom-light: #aa79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8140bc",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 271.452,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.1881,
    "h": 304.7
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#8140BC
secondary
#ABC98F
accent
#D94F91
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8140BC

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

Preview Lab → · Contrast checker → · Palette generator →

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