#8140C1#8140C1

#8140C1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.194 H 303.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8140C1
RGBrgb(129, 64, 193)
HSLhsl(270, 51%, 50%)
HSVhsv(270, 67%, 76%)
CMYKcmyk(33.2%, 66.8%, 0%, 24.3%)
CIE-LABlab(41.51, 52.03, -56.89)
CIE-LCHlch(41.51, 77.09, 312.44°)
OKLaboklab(51.86% 0.1065 -0.1616)
OKLCHoklch(51.86% 0.194 303.4)
XYZxyz(20.5101, 12.1842, 51.7130)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140C1 #80C140
analogous
#4140C1 #8140C1 #C140C0
triadic
#8140C1 #C18140 #40C181
tetradic
#8140C1 #C14140 #80C140 #40C0C1
square
#8140C1 #C14140 #80C140 #40C0C1
split-complementary
#8140C1 #C0C140 #40C141
monochromatic
#442166 #623094 #8140C1 #9F6ED0 #BE9CDF

Accessibility & contrast

On white

6.11
#8140C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8140C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140C1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140C1#FFFFFF#000000##FFFFFF
##8140C11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#755D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8140c1;
/* rgb */ color: rgb(129, 64, 193);
/* oklch */ color: oklch(51.9% 0.194 303.4);
Tailwind
colors: {
  custom: {
    50: '#aa79d4',
    500: '#8140c1',
    950: '#000000',
  },
}
SCSS
$custom: #8140c1;
$custom-light: #aa79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8140c1",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 270.233,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.19356,
    "h": 303.4
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#8140C1
secondary
#AECB92
accent
#DA4D93
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8140C1

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

Preview Lab → · Contrast checker → · Palette generator →

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