#7D4DC6#7D4DC6

#7D4DC6 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.181 H 298.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7D4DC6
RGBrgb(125, 77, 198)
HSLhsl(264, 51%, 54%)
HSVhsv(264, 61%, 78%)
CMYKcmyk(36.9%, 61.1%, 0%, 22.4%)
CIE-LABlab(43.86, 45.68, -56.01)
CIE-LCHlch(43.86, 72.28, 309.19°)
OKLaboklab(53.56% 0.0859 -0.1592)
OKLCHoklch(53.56% 0.181 298.3)
XYZxyz(21.3018, 13.7447, 54.9458)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DC6 #96C64D
analogous
#4D5AC6 #7D4DC6 #BA4DC6
triadic
#7D4DC6 #C67D4D #4DC67D
tetradic
#7D4DC6 #C64D5A #96C64D #4DC6BA
square
#7D4DC6 #C64D5A #96C64D #4DC6BA
split-complementary
#7D4DC6 #C6BA4D #5AC64D
monochromatic
#442574 #6034A2 #7D4DC6 #9F7BD5 #C1AAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D4DC6#FFFFFF#000000##FFFFFF
##7D4DC61.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)
#0068CA
Deuteranopia (green-blind)
#1A66C3
Tritanopia (blue-blind)
#6C6782
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d4dc6;
/* rgb */ color: rgb(125, 77, 198);
/* oklch */ color: oklch(53.6% 0.181 298.3);
Tailwind
colors: {
  custom: {
    50: '#a781d8',
    500: '#7d4dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dc6;
$custom-light: #a781d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dc6",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 263.802,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.18091,
    "h": 298.3
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#7D4DC6
secondary
#BDD19E
accent
#DB4DA3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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