#8140DC#8140DC

#8140DC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.223 H 297.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8140DC
RGBrgb(129, 64, 220)
HSLhsl(265, 69%, 56%)
HSVhsv(265, 71%, 86%)
CMYKcmyk(41.4%, 70.9%, 0%, 13.7%)
CIE-LABlab(43.51, 58.65, -69.23)
CIE-LCHlch(43.51, 90.73, 310.27°)
OKLaboklab(53.91% 0.1023 -0.1979)
OKLCHoklch(53.91% 0.223 297.3)
XYZxyz(23.8016, 13.5008, 69.0482)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140DC #9BDC40
analogous
#404DDC #8140DC #CF40DC
triadic
#8140DC #DC8140 #40DC81
tetradic
#8140DC #DC404D #9BDC40 #40DCCF
square
#8140DC #DC404D #9BDC40 #40DCCF
split-complementary
#8140DC #DCCF40 #4DDC40
monochromatic
#481989 #6323BC #8140DC #A374E5 #C5A7EF

Accessibility & contrast

On white

5.68
#8140DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8140DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140DC#FFFFFF#000000##FFFFFF
##8140DC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#6A678A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8140dc;
/* rgb */ color: rgb(129, 64, 220);
/* oklch */ color: oklch(53.9% 0.223 297.3);
Tailwind
colors: {
  custom: {
    50: '#ad7ae8',
    500: '#8140dc',
    950: '#000000',
  },
}
SCSS
$custom: #8140dc;
$custom-light: #ad7ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8140dc",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 220
  },
  "hsl": {
    "h": 265,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.22279,
    "h": 297.3
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#8140DC
secondary
#C1DC9B
accent
#EC3CA3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8140DC

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

Preview Lab → · Contrast checker → · Palette generator →

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