#7A4DF4#7A4DF4

#7A4DF4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.235 H 289.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A4DF4
RGBrgb(122, 77, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(50%, 68.4%, 0%, 4.3%)
CIE-LABlab(46.94, 57.40, -77.23)
CIE-LCHlch(46.94, 96.22, 306.62°)
OKLaboklab(56.77% 0.0765 -0.2217)
OKLCHoklch(56.77% 0.235 289)
XYZxyz(27.0043, 15.9758, 87.2312)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DF4 #C7F44D
analogous
#4D73F4 #7A4DF4 #CE4DF4
triadic
#7A4DF4 #F47A4D #4DF47A
tetradic
#7A4DF4 #F44D73 #C7F44D #4DF4CE
square
#7A4DF4 #F44D73 #C7F44D #4DF4CE
split-complementary
#7A4DF4 #F4CE4D #73F44D
monochromatic
#3B0CBB #4F13F0 #7A4DF4 #A587F8 #D0C0FB

Accessibility & contrast

On white

5.01
#7A4DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A4DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DF4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DF4#FFFFFF#000000##FFFFFF
##7A4DF41.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#4E789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a4df4;
/* rgb */ color: rgb(122, 77, 244);
/* oklch */ color: oklch(56.8% 0.235 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa82f9',
    500: '#7a4df4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4df4;
$custom-light: #aa82f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4df4",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 244
  },
  "hsl": {
    "h": 256.168,
    "s": 88.36,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.23452,
    "h": 289
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#7A4DF4
secondary
#DCECB0
accent
#E501A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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