#8140DF#8140DF

#8140DF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.226 H 296.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8140DF
RGBrgb(129, 64, 223)
HSLhsl(265, 71%, 56%)
HSVhsv(265, 71%, 87%)
CMYKcmyk(42.2%, 71.3%, 0%, 12.5%)
CIE-LABlab(43.74, 59.40, -70.56)
CIE-LCHlch(43.74, 92.23, 310.09°)
OKLaboklab(54.15% 0.1017 -0.2018)
OKLCHoklch(54.15% 0.226 296.8)
XYZxyz(24.2024, 13.6611, 71.1594)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140DF #9EDF40
analogous
#404FDF #8140DF #D040DF
triadic
#8140DF #DF8140 #40DF81
tetradic
#8140DF #DF404F #9EDF40 #40DFD0
square
#8140DF #DF404F #9EDF40 #40DFD0
split-complementary
#8140DF #DFD040 #4FDF40
monochromatic
#48188D #6220C1 #8140DF #A474E8 #C6A9F1

Accessibility & contrast

On white

5.63
#8140DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8140DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140DF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140DF#FFFFFF#000000##FFFFFF
##8140DF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#68688C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8140df;
/* rgb */ color: rgb(129, 64, 223);
/* oklch */ color: oklch(54.1% 0.226 296.8);
Tailwind
colors: {
  custom: {
    50: '#ad7aea',
    500: '#8140df',
    950: '#000000',
  },
}
SCSS
$custom: #8140df;
$custom-light: #ad7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8140df",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 264.528,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.226,
    "h": 296.8
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#8140DF
secondary
#C3DE9D
accent
#EE3AA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8140DF

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

Preview Lab → · Contrast checker → · Palette generator →

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