#7D4ED7#7D4ED7

#7D4ED7 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.200 H 294.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7D4ED7
RGBrgb(125, 78, 215)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.9%, 63.7%, 0%, 15.7%)
CIE-LABlab(45.24, 49.60, -63.57)
CIE-LCHlch(45.24, 80.63, 307.96°)
OKLaboklab(54.93% 0.0835 -0.1814)
OKLCHoklch(54.93% 0.2 294.7)
XYZxyz(23.4443, 14.7145, 65.8818)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ED7 #A8D74E
analogous
#4E63D7 #7D4ED7 #C24ED7
triadic
#7D4ED7 #D77D4E #4ED77D
tetradic
#7D4ED7 #D74E63 #A8D74E #4ED7C2
square
#7D4ED7 #D74E63 #A8D74E #4ED7C2
split-complementary
#7D4ED7 #D7C24E #63D74E
monochromatic
#441F8B #5D2BBD #7D4ED7 #A280E2 #C6B2EE

Accessibility & contrast

On white

5.33
#7D4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7D4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ED7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ED7#FFFFFF#000000##FFFFFF
##7D4ED71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#656E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4ed7;
/* rgb */ color: rgb(125, 78, 215);
/* oklch */ color: oklch(54.9% 0.200 294.7);
Tailwind
colors: {
  custom: {
    50: '#a982e4',
    500: '#7d4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ed7;
$custom-light: #a982e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ed7",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 260.584,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.19975,
    "h": 294.7
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#7D4ED7
secondary
#C9DCA5
accent
#E642AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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