#7A4FE8#7A4FE8

#7A4FE8 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.218 H 290.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE8
RGBrgb(122, 79, 232)
HSLhsl(257, 77%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.4%, 65.9%, 0%, 9%)
CIE-LABlab(46.38, 53.09, -71.39)
CIE-LCHlch(46.38, 88.96, 306.64°)
OKLaboklab(56.08% 0.0765 -0.2045)
OKLCHoklch(56.08% 0.218 290.5)
XYZxyz(25.3834, 15.5548, 77.9932)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE8 #BDE84F
analogous
#4F70E8 #7A4FE8 #C64FE8
triadic
#7A4FE8 #E87A4F #4FE87A
tetradic
#7A4FE8 #E84F70 #BDE84F #4FE8C6
square
#7A4FE8 #E84F70 #BDE84F #4FE8C6
split-complementary
#7A4FE8 #E8C64F #70E84F
monochromatic
#3F16A7 #531DDD #7A4FE8 #A385EF #CCBBF6

Accessibility & contrast

On white

5.11
#7A4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE8#FFFFFF#000000##FFFFFF
##7A4FE81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#567595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4fe8;
/* rgb */ color: rgb(122, 79, 232);
/* oklch */ color: oklch(56.1% 0.218 290.5);
Tailwind
colors: {
  custom: {
    50: '#a983f0',
    500: '#7a4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe8;
$custom-light: #a983f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe8",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 256.863,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.21838,
    "h": 290.5
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#7A4FE8
secondary
#D6E6AD
accent
#D90CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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