#7A4FD7#7A4FD7

#7A4FD7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.198 H 293.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A4FD7
RGBrgb(122, 79, 215)
HSLhsl(259, 63%, 58%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(43.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(45.13, 48.47, -63.77)
CIE-LCHlch(45.13, 80.09, 307.24°)
OKLaboklab(54.78% 0.0784 -0.1821)
OKLCHoklch(54.78% 0.198 293.3)
XYZxyz(23.0844, 14.6352, 65.8854)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FD7 #ACD74F
analogous
#4F68D7 #7A4FD7 #BE4FD7
triadic
#7A4FD7 #D77A4F #4FD77A
tetradic
#7A4FD7 #D74F68 #ACD74F #4FD7BE
square
#7A4FD7 #D74F68 #ACD74F #4FD7BE
split-complementary
#7A4FD7 #D7BE4F #68D74F
monochromatic
#42208C #592BBE #7A4FD7 #A081E2 #C5B3EE

Accessibility & contrast

On white

5.35
#7A4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FD7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FD7#FFFFFF#000000##FFFFFF
##7A4FD71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#606F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4fd7;
/* rgb */ color: rgb(122, 79, 215);
/* oklch */ color: oklch(54.8% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#a783e4',
    500: '#7a4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fd7;
$custom-light: #a783e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fd7",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 258.971,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.19829,
    "h": 293.3
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#7A4FD7
secondary
#CBDCA6
accent
#E642B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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