#7A4FD9#7A4FD9

#7A4FD9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.201 H 292.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A4FD9
RGBrgb(122, 79, 217)
HSLhsl(259, 64%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(43.8%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.27, 49.01, -64.68)
CIE-LCHlch(45.27, 81.15, 307.15°)
OKLaboklab(54.93% 0.0782 -0.1848)
OKLCHoklch(54.93% 0.201 292.9)
XYZxyz(23.3430, 14.7386, 67.2471)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FD9 #AED94F
analogous
#4F69D9 #7A4FD9 #BF4FD9
triadic
#7A4FD9 #D97A4F #4FD97A
tetradic
#7A4FD9 #D94F69 #AED94F #4FD9BF
square
#7A4FD9 #D94F69 #AED94F #4FD9BF
split-complementary
#7A4FD9 #D9BF4F #69D94F
monochromatic
#421F8F #592AC1 #7A4FD9 #A081E4 #C6B4EF

Accessibility & contrast

On white

5.32
#7A4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FD9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FD9#FFFFFF#000000##FFFFFF
##7A4FD91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#5F6F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4fd9;
/* rgb */ color: rgb(122, 79, 217);
/* oklch */ color: oklch(54.9% 0.201 292.9);
Tailwind
colors: {
  custom: {
    50: '#a783e6',
    500: '#7a4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fd9;
$custom-light: #a783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fd9",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 258.696,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.20068,
    "h": 292.9
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#7A4FD9
secondary
#CCDDA6
accent
#E740B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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