#7D4AC0#7D4AC0

#7D4AC0 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.178 H 300.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7D4AC0
RGBrgb(125, 74, 192)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 61%, 75%)
CMYKcmyk(34.9%, 61.5%, 0%, 24.7%)
CIE-LABlab(42.86, 45.76, -54.15)
CIE-LCHlch(42.86, 70.89, 310.20°)
OKLaboklab(52.7% 0.0897 -0.1537)
OKLCHoklch(52.7% 0.178 300.3)
XYZxyz(20.4184, 13.0632, 51.3047)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AC0 #8DC04A
analogous
#4A52C0 #7D4AC0 #B84AC0
triadic
#7D4AC0 #C07D4A #4AC07D
tetradic
#7D4AC0 #C04A52 #8DC04A #4AC0B8
square
#7D4AC0 #C04A52 #8DC04A #4AC0B8
split-complementary
#7D4AC0 #C0B84A #52C04A
monochromatic
#43256B #603598 #7D4AC0 #9E77D0 #BEA5E0

Accessibility & contrast

On white

5.81
#7D4AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7D4AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AC0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AC0#FFFFFF#000000##FFFFFF
##7D4AC01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#6F637E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4ac0;
/* rgb */ color: rgb(125, 74, 192);
/* oklch */ color: oklch(52.7% 0.178 300.3);
Tailwind
colors: {
  custom: {
    50: '#a77fd4',
    500: '#7d4ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ac0;
$custom-light: #a77fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ac0",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 265.932,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.178,
    "h": 300.3
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#7D4AC0
secondary
#B6CD99
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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