#7A4FF2#7A4FF2

#7A4FF2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.230 H 289.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A4FF2
RGBrgb(122, 79, 242)
HSLhsl(256, 86%, 63%)
HSVhsv(256, 67%, 95%)
CMYKcmyk(49.6%, 67.4%, 0%, 5.1%)
CIE-LABlab(47.16, 55.82, -75.76)
CIE-LCHlch(47.16, 94.11, 306.39°)
OKLaboklab(56.88% 0.0751 -0.2174)
OKLCHoklch(56.88% 0.23 289.1)
XYZxyz(26.8444, 16.1392, 85.6879)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FF2 #C7F24F
analogous
#4F76F2 #7A4FF2 #CB4FF2
triadic
#7A4FF2 #F27A4F #4FF27A
tetradic
#7A4FF2 #F24F76 #C7F24F #4FF2CB
square
#7A4FF2 #F24F76 #C7F24F #4FF2CB
split-complementary
#7A4FF2 #F2CB4F #76F24F
monochromatic
#3B0EB9 #4F16EE #7A4FF2 #A588F6 #D0C1FA

Accessibility & contrast

On white

4.97
#7A4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7A4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FF2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FF2#FFFFFF#000000##FFFFFF
##7A4FF21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#50789A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a4ff2;
/* rgb */ color: rgb(122, 79, 242);
/* oklch */ color: oklch(56.9% 0.230 289.1);
Tailwind
colors: {
  custom: {
    50: '#aa83f7',
    500: '#7a4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ff2;
$custom-light: #aa83f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ff2",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 255.828,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.22997,
    "h": 289.1
  },
  "luminance": 0.1614
}

Semantic roles & 50–950 ramp

primary
#7A4FF2
secondary
#DCECB1
accent
#E303A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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