#7A4EF4#7A4EF4

#7A4EF4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.233 H 288.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A4EF4
RGBrgb(122, 78, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(50%, 68%, 0%, 4.3%)
CIE-LABlab(47.13, 56.89, -76.93)
CIE-LCHlch(47.13, 95.68, 306.48°)
OKLaboklab(56.9% 0.0757 -0.2208)
OKLCHoklch(56.9% 0.233 288.9)
XYZxyz(27.0748, 16.1168, 87.2547)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EF4 #C8F44E
analogous
#4E75F4 #7A4EF4 #CD4EF4
triadic
#7A4EF4 #F47A4E #4EF47A
tetradic
#7A4EF4 #F44E75 #C8F44E #4EF4CD
square
#7A4EF4 #F44E75 #C8F44E #4EF4CD
split-complementary
#7A4EF4 #F4CD4E #75F44E
monochromatic
#3A0CBC #4F14F0 #7A4EF4 #A588F8 #D1C1FB

Accessibility & contrast

On white

4.97
#7A4EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7A4EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EF4#FFFFFF#000000##FFFFFF
##7A4EF41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#4E789B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a4ef4;
/* rgb */ color: rgb(122, 78, 244);
/* oklch */ color: oklch(56.9% 0.233 288.9);
Tailwind
colors: {
  custom: {
    50: '#aa83f9',
    500: '#7a4ef4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ef4;
$custom-light: #aa83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ef4",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 244
  },
  "hsl": {
    "h": 255.904,
    "s": 88.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.2334,
    "h": 288.9
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#7A4EF4
secondary
#DDEDB1
accent
#E501A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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