#7A4FE9#7A4FE9

#7A4FE9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.220 H 290.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE9
RGBrgb(122, 79, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47.6%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.46, 53.36, -71.83)
CIE-LCHlch(46.46, 89.48, 306.61°)
OKLaboklab(56.16% 0.0764 -0.2058)
OKLCHoklch(56.16% 0.22 290.4)
XYZxyz(25.5258, 15.6117, 78.7434)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE9 #BEE94F
analogous
#4F71E9 #7A4FE9 #C74FE9
triadic
#7A4FE9 #E97A4F #4FE97A
tetradic
#7A4FE9 #E94F71 #BEE94F #4FE9C7
square
#7A4FE9 #E94F71 #BEE94F #4FE9C7
split-complementary
#7A4FE9 #E9C74F #71E94F
monochromatic
#3E15A9 #521CDF #7A4FE9 #A385F0 #CCBCF7

Accessibility & contrast

On white

5.09
#7A4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE9#FFFFFF#000000##FFFFFF
##7A4FE91.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4fe9;
/* rgb */ color: rgb(122, 79, 233);
/* oklch */ color: oklch(56.2% 0.220 290.4);
Tailwind
colors: {
  custom: {
    50: '#a983f1',
    500: '#7a4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe9;
$custom-light: #a983f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe9",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 256.753,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.21955,
    "h": 290.4
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#7A4FE9
secondary
#D7E7AD
accent
#DA0BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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