#7D4FC4#7D4FC4

#7D4FC4 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.176 H 298.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7D4FC4
RGBrgb(125, 79, 196)
HSLhsl(264, 50%, 54%)
HSVhsv(264, 60%, 77%)
CMYKcmyk(36.2%, 59.7%, 0%, 23.1%)
CIE-LABlab(44.14, 44.06, -54.41)
CIE-LCHlch(44.14, 70.01, 309.00°)
OKLaboklab(53.72% 0.0836 -0.1545)
OKLCHoklch(53.72% 0.176 298.4)
XYZxyz(21.2148, 13.9372, 53.7863)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FC4 #96C44F
analogous
#4F5CC4 #7D4FC4 #B84FC4
triadic
#7D4FC4 #C47D4F #4FC47D
tetradic
#7D4FC4 #C44F5C #96C44F #4FC4B8
square
#7D4FC4 #C44F5C #96C44F #4FC4B8
split-complementary
#7D4FC4 #C4B84F #5CC44F
monochromatic
#442672 #6036A0 #7D4FC4 #9F7DD3 #C1ABE3

Accessibility & contrast

On white

5.54
#7D4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D4FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FC4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FC4#FFFFFF#000000##FFFFFF
##7D4FC41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0168C8
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#6D6882
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4fc4;
/* rgb */ color: rgb(125, 79, 196);
/* oklch */ color: oklch(53.7% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#a782d7',
    500: '#7d4fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fc4;
$custom-light: #a782d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fc4",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 263.59,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.17566,
    "h": 298.4
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#7D4FC4
secondary
#BDD09E
accent
#D94EA3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7D4FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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