#7D4FA0#7D4FA0

#7D4FA0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.4% C 0.131 H 308.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D4FA0
RGBrgb(125, 79, 160)
HSLhsl(274, 34%, 47%)
HSVhsv(274, 51%, 63%)
CMYKcmyk(21.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(41.98, 35.04, -36.68)
CIE-LCHlch(41.98, 50.73, 313.69°)
OKLaboklab(51.44% 0.0822 -0.1026)
OKLCHoklch(51.44% 0.131 308.7)
XYZxyz(17.5974, 12.4902, 34.7347)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FA0 #72A04F
analogous
#554FA0 #7D4FA0 #A04F9B
triadic
#7D4FA0 #A07D4F #4FA07D
tetradic
#7D4FA0 #A0554F #72A04F #4F9BA0
square
#7D4FA0 #A0554F #72A04F #4F9BA0
split-complementary
#7D4FA0 #9BA04F #4FA055
monochromatic
#3D274E #5D3B77 #7D4FA0 #9B73BA #B89CCE

Accessibility & contrast

On white

6.00
#7D4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7D4FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FA0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FA0#FFFFFF#000000##FFFFFF
##7D4FA01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#47649E
Tritanopia (blue-blind)
#785D70
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d4fa0;
/* rgb */ color: rgb(125, 79, 160);
/* oklch */ color: oklch(51.4% 0.131 308.7);
Tailwind
colors: {
  custom: {
    50: '#a582bc',
    500: '#7d4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fa0;
$custom-light: #a582bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fa0",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 274.074,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.13145,
    "h": 308.7
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#7D4FA0
secondary
#A3BB90
accent
#CA5E8D
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7D4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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