#7D4DC4#7D4DC4

#7D4DC4 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 298.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7D4DC4
RGBrgb(125, 77, 196)
HSLhsl(264, 50%, 54%)
HSVhsv(264, 61%, 77%)
CMYKcmyk(36.2%, 60.7%, 0%, 23.1%)
CIE-LABlab(43.73, 45.16, -55.07)
CIE-LCHlch(43.73, 71.22, 309.35°)
OKLaboklab(53.42% 0.086 -0.1564)
OKLCHoklch(53.42% 0.179 298.8)
XYZxyz(21.0727, 13.6530, 53.7389)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DC4 #94C44D
analogous
#4D58C4 #7D4DC4 #B94DC4
triadic
#7D4DC4 #C47D4D #4DC47D
tetradic
#7D4DC4 #C44D58 #94C44D #4DC4B9
square
#7D4DC4 #C44D58 #94C44D #4DC4B9
split-complementary
#7D4DC4 #C4B94D #58C44D
monochromatic
#442571 #60359F #7D4DC4 #9F7BD3 #C0A9E2

Accessibility & contrast

On white

5.63
#7D4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7D4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DC4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DC4#FFFFFF#000000##FFFFFF
##7D4DC41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1F66C1
Tritanopia (blue-blind)
#6D6781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4dc4;
/* rgb */ color: rgb(125, 77, 196);
/* oklch */ color: oklch(53.4% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#a781d7',
    500: '#7d4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4dc4;
$custom-light: #a781d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4dc4",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 264.202,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.17851,
    "h": 298.8
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#7D4DC4
secondary
#BBD09D
accent
#DA4EA1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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