#7A4EE7#7A4EE7

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

Color values

HEX#7A4EE7
RGBrgb(122, 78, 231)
HSLhsl(257, 76%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.2%, 66.2%, 0%, 9.4%)
CIE-LABlab(46.12, 53.34, -71.26)
CIE-LCHlch(46.12, 89.01, 306.82°)
OKLaboklab(55.86% 0.0776 -0.2041)
OKLCHoklch(55.86% 0.218 290.8)
XYZxyz(25.1702, 15.3549, 77.2234)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EE7 #BBE74E
analogous
#4E6EE7 #7A4EE7 #C64EE7
triadic
#7A4EE7 #E77A4E #4EE77A
tetradic
#7A4EE7 #E74E6E #BBE74E #4EE7C6
square
#7A4EE7 #E74E6E #BBE74E #4EE7C6
split-complementary
#7A4EE7 #E7C64E #6EE74E
monochromatic
#3F16A4 #541EDA #7A4EE7 #A284EE #CBBAF6

Accessibility & contrast

On white

5.16
#7A4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7A4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EE7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EE7#FFFFFF#000000##FFFFFF
##7A4EE71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4ee7;
/* rgb */ color: rgb(122, 78, 231);
/* oklch */ color: oklch(55.9% 0.218 290.8);
Tailwind
colors: {
  custom: {
    50: '#a982f0',
    500: '#7a4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ee7;
$custom-light: #a982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ee7",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 257.255,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.21841,
    "h": 290.8
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#7A4EE7
secondary
#D5E5AB
accent
#D80D9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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