#7D3AA4#7D3AA4

#7D3AA4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.169 H 310.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7D3AA4
RGBrgb(125, 58, 164)
HSLhsl(278, 48%, 44%)
HSVhsv(278, 65%, 64%)
CMYKcmyk(23.8%, 64.6%, 0%, 35.7%)
CIE-LABlab(37.96, 47.28, -45.49)
CIE-LCHlch(37.96, 65.61, 316.11°)
OKLaboklab(48.57% 0.1104 -0.1282)
OKLCHoklch(48.57% 0.169 310.7)
XYZxyz(16.6701, 10.0668, 36.1797)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AA4 #61A43A
analogous
#483AA4 #7D3AA4 #A43A96
triadic
#7D3AA4 #A47D3A #3AA47D
tetradic
#7D3AA4 #A4483A #61A43A #3A96A4
square
#7D3AA4 #A4483A #61A43A #3A96A4
split-complementary
#7D3AA4 #96A43A #3AA448
monochromatic
#381A4A #5B2A77 #7D3AA4 #9C57C4 #B785D4

Accessibility & contrast

On white

6.97
#7D3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7D3AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AA4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AA4#FFFFFF#000000##FFFFFF
##7D3AA41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#784F6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d3aa4;
/* rgb */ color: rgb(125, 58, 164);
/* oklch */ color: oklch(48.6% 0.169 310.7);
Tailwind
colors: {
  custom: {
    50: '#a674c0',
    500: '#7d3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3aa4;
$custom-light: #a674c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3aa4",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 277.925,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.16924,
    "h": 310.7
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#7D3AA4
secondary
#94BE7C
accent
#D75082
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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