#7A4FE7#7A4FE7

#7A4FE7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.217 H 290.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE7
RGBrgb(122, 79, 231)
HSLhsl(257, 76%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.2%, 65.8%, 0%, 9.4%)
CIE-LABlab(46.31, 52.81, -70.95)
CIE-LCHlch(46.31, 88.45, 306.67°)
OKLaboklab(56% 0.0767 -0.2032)
OKLCHoklch(56% 0.217 290.7)
XYZxyz(25.2417, 15.4981, 77.2473)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE7 #BCE74F
analogous
#4F70E7 #7A4FE7 #C64FE7
triadic
#7A4FE7 #E77A4F #4FE77A
tetradic
#7A4FE7 #E74F70 #BCE74F #4FE7C6
square
#7A4FE7 #E74F70 #BCE74F #4FE7C6
split-complementary
#7A4FE7 #E7C64F #70E74F
monochromatic
#3F17A5 #531EDB #7A4FE7 #A385EE #CBBBF6

Accessibility & contrast

On white

5.12
#7A4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7A4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE7#FFFFFF#000000##FFFFFF
##7A4FE71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#577494
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4fe7;
/* rgb */ color: rgb(122, 79, 231);
/* oklch */ color: oklch(56.0% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#a983f0',
    500: '#7a4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe7;
$custom-light: #a983f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe7",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 256.974,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.21721,
    "h": 290.7
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#7A4FE7
secondary
#D5E6AC
accent
#D80D9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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