#7A4ED5#7A4ED5

#7A4ED5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.197 H 293.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A4ED5
RGBrgb(122, 78, 213)
HSLhsl(260, 62%, 57%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(42.7%, 63.4%, 0%, 16.5%)
CIE-LABlab(44.79, 48.47, -63.18)
CIE-LCHlch(44.79, 79.63, 307.49°)
OKLaboklab(54.49% 0.0797 -0.1804)
OKLCHoklch(54.49% 0.197 293.8)
XYZxyz(22.7574, 14.3898, 64.5164)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ED5 #A9D54E
analogous
#4E65D5 #7A4ED5 #BE4ED5
triadic
#7A4ED5 #D57A4E #4ED57A
tetradic
#7A4ED5 #D54E65 #A9D54E #4ED5BE
square
#7A4ED5 #D54E65 #A9D54E #4ED5BE
split-complementary
#7A4ED5 #D5BE4E #65D54E
monochromatic
#422088 #5A2CBA #7A4ED5 #9F7FE1 #C4B1EC

Accessibility & contrast

On white

5.42
#7A4ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A4ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ED5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ED5#FFFFFF#000000##FFFFFF
##7A4ED51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#616D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4ed5;
/* rgb */ color: rgb(122, 78, 213);
/* oklch */ color: oklch(54.5% 0.197 293.8);
Tailwind
colors: {
  custom: {
    50: '#a782e3',
    500: '#7a4ed5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ed5;
$custom-light: #a782e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ed5",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 259.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54489,
    "c": 0.1972,
    "h": 293.8
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#7A4ED5
secondary
#C9DBA4
accent
#E543B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7A4ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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