#8140D9#8140D9

#8140D9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.220 H 297.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8140D9
RGBrgb(129, 64, 217)
HSLhsl(265, 67%, 55%)
HSVhsv(265, 71%, 85%)
CMYKcmyk(40.6%, 70.5%, 0%, 14.9%)
CIE-LABlab(43.28, 57.91, -67.89)
CIE-LCHlch(43.28, 89.23, 310.46°)
OKLaboklab(53.67% 0.1029 -0.194)
OKLCHoklch(53.67% 0.22 297.9)
XYZxyz(23.4078, 13.3433, 66.9744)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140D9 #98D940
analogous
#404CD9 #8140D9 #CD40D9
triadic
#8140D9 #D98140 #40D981
tetradic
#8140D9 #D9404C #98D940 #40D9CD
square
#8140D9 #D9404C #98D940 #40D9CD
split-complementary
#8140D9 #D9CD40 #4CD940
monochromatic
#471A84 #6324B7 #8140D9 #A373E3 #C4A6ED

Accessibility & contrast

On white

5.72
#8140D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8140D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140D9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140D9#FFFFFF#000000##FFFFFF
##8140D91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#6B6688
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8140d9;
/* rgb */ color: rgb(129, 64, 217);
/* oklch */ color: oklch(53.7% 0.220 297.9);
Tailwind
colors: {
  custom: {
    50: '#ac7ae6',
    500: '#8140d9',
    950: '#000000',
  },
}
SCSS
$custom: #8140d9;
$custom-light: #ac7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8140d9",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 265.49,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.21957,
    "h": 297.9
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#8140D9
secondary
#BFDA9A
accent
#EA3EA1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8140D9

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

Preview Lab → · Contrast checker → · Palette generator →

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