#7D4AC4#7D4AC4

#7D4AC4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.183 H 299.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D4AC4
RGBrgb(125, 74, 196)
HSLhsl(265, 51%, 53%)
HSVhsv(265, 62%, 77%)
CMYKcmyk(36.2%, 62.2%, 0%, 23.1%)
CIE-LABlab(43.13, 46.78, -56.04)
CIE-LCHlch(43.13, 73.00, 309.85°)
OKLaboklab(52.98% 0.0895 -0.1593)
OKLCHoklch(52.98% 0.183 299.3)
XYZxyz(20.8676, 13.2428, 53.6706)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AC4 #91C44A
analogous
#4A54C4 #7D4AC4 #BA4AC4
triadic
#7D4AC4 #C47D4A #4AC47D
tetradic
#7D4AC4 #C44A54 #91C44A #4AC4BA
square
#7D4AC4 #C44A54 #91C44A #4AC4BA
split-complementary
#7D4AC4 #C4BA4A #54C44A
monochromatic
#44246F #60339D #7D4AC4 #9E78D3 #BFA6E2

Accessibility & contrast

On white

5.76
#7D4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D4AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AC4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AC4#FFFFFF#000000##FFFFFF
##7D4AC41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1765C1
Tritanopia (blue-blind)
#6D6580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4ac4;
/* rgb */ color: rgb(125, 74, 196);
/* oklch */ color: oklch(53.0% 0.183 299.3);
Tailwind
colors: {
  custom: {
    50: '#a77fd7',
    500: '#7d4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ac4;
$custom-light: #a77fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ac4",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 265.082,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.18273,
    "h": 299.3
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#7D4AC4
secondary
#B9CF9B
accent
#DA4D9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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