#8140D1#8140D1

#8140D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.211 H 299.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8140D1
RGBrgb(129, 64, 209)
HSLhsl(267, 61%, 54%)
HSVhsv(267, 69%, 82%)
CMYKcmyk(38.3%, 69.4%, 0%, 18%)
CIE-LABlab(42.67, 55.93, -64.28)
CIE-LCHlch(42.67, 85.21, 311.02°)
OKLaboklab(53.05% 0.1043 -0.1834)
OKLCHoklch(53.05% 0.211 299.6)
XYZxyz(22.3924, 12.9371, 61.6266)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140D1 #90D140
analogous
#4047D1 #8140D1 #CA40D1
triadic
#8140D1 #D18140 #40D181
tetradic
#8140D1 #D14047 #90D140 #40D1CA
square
#8140D1 #D14047 #90D140 #40D1CA
split-complementary
#8140D1 #D1CA40 #47D140
monochromatic
#471D79 #6329AB #8140D1 #A271DD #C2A3E9

Accessibility & contrast

On white

5.85
#8140D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8140D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140D1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140D1#FFFFFF#000000##FFFFFF
##8140D11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#6F6384
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8140d1;
/* rgb */ color: rgb(129, 64, 209);
/* oklch */ color: oklch(53.0% 0.211 299.6);
Tailwind
colors: {
  custom: {
    50: '#ac7ae0',
    500: '#8140d1',
    950: '#000000',
  },
}
SCSS
$custom: #8140d1;
$custom-light: #ac7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8140d1",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 266.897,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.21095,
    "h": 299.6
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#8140D1
secondary
#BAD597
accent
#E4449C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8140D1

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

Preview Lab → · Contrast checker → · Palette generator →

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