#8140C0#8140C0

#8140C0 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.192 H 303.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8140C0
RGBrgb(129, 64, 192)
HSLhsl(270, 50%, 50%)
HSVhsv(270, 67%, 75%)
CMYKcmyk(32.8%, 66.7%, 0%, 24.7%)
CIE-LABlab(41.44, 51.78, -56.42)
CIE-LCHlch(41.44, 76.58, 312.55°)
OKLaboklab(51.78% 0.1066 -0.1602)
OKLCHoklch(51.78% 0.192 303.6)
XYZxyz(20.3989, 12.1397, 51.1275)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140C0 #7FC040
analogous
#4140C0 #8140C0 #C040BF
triadic
#8140C0 #C08140 #40C081
tetradic
#8140C0 #C04140 #7FC040 #40BFC0
square
#8140C0 #C04140 #7FC040 #40BFC0
split-complementary
#8140C0 #BFC040 #40C041
monochromatic
#432164 #623092 #8140C0 #9F6ECF #BE9CDE

Accessibility & contrast

On white

6.13
#8140C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8140C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140C0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140C0#FFFFFF#000000##FFFFFF
##8140C01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0F62BD
Tritanopia (blue-blind)
#755D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8140c0;
/* rgb */ color: rgb(129, 64, 192);
/* oklch */ color: oklch(51.8% 0.192 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa79d4',
    500: '#8140c0',
    950: '#000000',
  },
}
SCSS
$custom: #8140c0;
$custom-light: #aa79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8140c0",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 270.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.19247,
    "h": 303.6
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#8140C0
secondary
#ADCB91
accent
#DA4E93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8140C0

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

Preview Lab → · Contrast checker → · Palette generator →

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