#7D4EC4#7D4EC4

#7D4EC4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.177 H 298.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D4EC4
RGBrgb(125, 78, 196)
HSLhsl(264, 50%, 54%)
HSVhsv(264, 60%, 77%)
CMYKcmyk(36.2%, 60.2%, 0%, 23.1%)
CIE-LABlab(43.94, 44.61, -54.74)
CIE-LCHlch(43.94, 70.62, 309.18°)
OKLaboklab(53.57% 0.0848 -0.1555)
OKLCHoklch(53.57% 0.177 298.6)
XYZxyz(21.1432, 13.7940, 53.7624)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EC4 #95C44E
analogous
#4E5AC4 #7D4EC4 #B84EC4
triadic
#7D4EC4 #C47D4E #4EC47D
tetradic
#7D4EC4 #C44E5A #95C44E #4EC4B8
square
#7D4EC4 #C44E5A #95C44E #4EC4B8
split-complementary
#7D4EC4 #C4B84E #5AC44E
monochromatic
#442672 #6035A0 #7D4EC4 #9F7CD3 #C0AAE3

Accessibility & contrast

On white

5.59
#7D4EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7D4EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EC4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EC4#FFFFFF#000000##FFFFFF
##7D4EC41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#2167C1
Tritanopia (blue-blind)
#6D6782
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4ec4;
/* rgb */ color: rgb(125, 78, 196);
/* oklch */ color: oklch(53.6% 0.177 298.6);
Tailwind
colors: {
  custom: {
    50: '#a782d7',
    500: '#7d4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ec4;
$custom-light: #a782d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ec4",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 263.898,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.17709,
    "h": 298.6
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#7D4EC4
secondary
#BCD09E
accent
#DA4EA2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#7D4EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva