#8140CE#8140CE

#8140CE is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.208 H 300.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8140CE
RGBrgb(129, 64, 206)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 69%, 81%)
CMYKcmyk(37.4%, 68.9%, 0%, 19.2%)
CIE-LABlab(42.45, 55.19, -62.92)
CIE-LCHlch(42.45, 83.69, 311.26°)
OKLaboklab(52.82% 0.1048 -0.1793)
OKLCHoklch(52.82% 0.208 300.3)
XYZxyz(22.0245, 12.7900, 59.6889)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140CE #8DCE40
analogous
#4046CE #8140CE #C840CE
triadic
#8140CE #CE8140 #40CE81
tetradic
#8140CE #CE4046 #8DCE40 #40CEC8
square
#8140CE #CE4046 #8DCE40 #40CEC8
split-complementary
#8140CE #CEC840 #46CE40
monochromatic
#461E75 #632BA6 #8140CE #A171DA #C1A1E7

Accessibility & contrast

On white

5.90
#8140CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8140CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140CE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140CE#FFFFFF#000000##FFFFFF
##8140CE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#706282
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8140ce;
/* rgb */ color: rgb(129, 64, 206);
/* oklch */ color: oklch(52.8% 0.208 300.3);
Tailwind
colors: {
  custom: {
    50: '#ab7ade',
    500: '#8140ce',
    950: '#000000',
  },
}
SCSS
$custom: #8140ce;
$custom-light: #ab7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8140ce",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 267.465,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.2077,
    "h": 300.3
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#8140CE
secondary
#B7D496
accent
#E2459B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8140CE

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

Preview Lab → · Contrast checker → · Palette generator →

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