#7A4FE6#7A4FE6

#7A4FE6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.216 H 290.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE6
RGBrgb(122, 79, 230)
HSLhsl(257, 75%, 61%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(47%, 65.7%, 0%, 9.8%)
CIE-LABlab(46.23, 52.54, -70.50)
CIE-LCHlch(46.23, 87.93, 306.69°)
OKLaboklab(55.93% 0.0768 -0.2019)
OKLCHoklch(55.93% 0.216 290.8)
XYZxyz(25.1009, 15.4418, 76.5056)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE6 #BBE64F
analogous
#4F6FE6 #7A4FE6 #C54FE6
triadic
#7A4FE6 #E67A4F #4FE67A
tetradic
#7A4FE6 #E64F6F #BBE64F #4FE6C5
square
#7A4FE6 #E64F6F #BBE64F #4FE6C5
split-complementary
#7A4FE6 #E6C54F #6FE64F
monochromatic
#3F17A3 #541FD9 #7A4FE6 #A285EE #CBBAF5

Accessibility & contrast

On white

5.14
#7A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7A4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE6#FFFFFF#000000##FFFFFF
##7A4FE61.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#587494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4fe6;
/* rgb */ color: rgb(122, 79, 230);
/* oklch */ color: oklch(55.9% 0.216 290.8);
Tailwind
colors: {
  custom: {
    50: '#a983ef',
    500: '#7a4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe6;
$custom-light: #a983ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe6",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 257.086,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.21604,
    "h": 290.8
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#7A4FE6
secondary
#D5E5AC
accent
#D70E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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