#7D4FC0#7D4FC0

#7D4FC0 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.171 H 299.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC0
RGBrgb(125, 79, 192)
HSLhsl(264, 47%, 53%)
HSVhsv(264, 59%, 75%)
CMYKcmyk(34.9%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.88, 43.03, -52.50)
CIE-LCHlch(43.88, 67.88, 309.33°)
OKLaboklab(53.45% 0.0837 -0.1489)
OKLCHoklch(53.45% 0.171 299.3)
XYZxyz(20.7655, 13.7575, 51.4204)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC0 #92C04F
analogous
#4F59C0 #7D4FC0 #B54FC0
triadic
#7D4FC0 #C07D4F #4FC07D
tetradic
#7D4FC0 #C04F59 #92C04F #4FC0B5
square
#7D4FC0 #C04F59 #92C04F #4FC0B5
split-complementary
#7D4FC0 #C0B54F #59C04F
monochromatic
#44276D #60379A #7D4FC0 #9E7CD0 #C0A9E0

Accessibility & contrast

On white

5.60
#7D4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7D4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FC0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC0#FFFFFF#000000##FFFFFF
##7D4FC01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1168C4
Deuteranopia (green-blind)
#2967BD
Tritanopia (blue-blind)
#6E6780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4fc0;
/* rgb */ color: rgb(125, 79, 192);
/* oklch */ color: oklch(53.5% 0.171 299.3);
Tailwind
colors: {
  custom: {
    50: '#a782d4',
    500: '#7d4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc0;
$custom-light: #a782d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc0",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 264.425,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.1708,
    "h": 299.3
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#7D4FC0
secondary
#BACE9D
accent
#D751A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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