#7A4ED4#7A4ED4

#7A4ED4 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.196 H 294.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A4ED4
RGBrgb(122, 78, 212)
HSLhsl(260, 61%, 57%)
HSVhsv(260, 63%, 83%)
CMYKcmyk(42.5%, 63.2%, 0%, 16.9%)
CIE-LABlab(44.72, 48.20, -62.72)
CIE-LCHlch(44.72, 79.10, 307.54°)
OKLaboklab(54.41% 0.0798 -0.179)
OKLCHoklch(54.41% 0.196 294)
XYZxyz(22.6309, 14.3392, 63.8500)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ED4 #A8D44E
analogous
#4E65D4 #7A4ED4 #BD4ED4
triadic
#7A4ED4 #D47A4E #4ED47A
tetradic
#7A4ED4 #D44E65 #A8D44E #4ED4BD
square
#7A4ED4 #D44E65 #A8D44E #4ED4BD
split-complementary
#7A4ED4 #D4BD4E #65D44E
monochromatic
#422187 #5A2DB8 #7A4ED4 #9F7FE0 #C4B0EC

Accessibility & contrast

On white

5.43
#7A4ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A4ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ED4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ED4#FFFFFF#000000##FFFFFF
##7A4ED41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#616D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4ed4;
/* rgb */ color: rgb(122, 78, 212);
/* oklch */ color: oklch(54.4% 0.196 294.0);
Tailwind
colors: {
  custom: {
    50: '#a782e2',
    500: '#7a4ed4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ed4;
$custom-light: #a782e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ed4",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 259.701,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.19602,
    "h": 294
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#7A4ED4
secondary
#C8DAA4
accent
#E444AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7A4ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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