#7A4FC7#7A4FC7

#7A4FC7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.179 H 296.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7A4FC7
RGBrgb(122, 79, 199)
HSLhsl(262, 52%, 55%)
HSVhsv(262, 60%, 78%)
CMYKcmyk(38.7%, 60.3%, 0%, 22%)
CIE-LABlab(44.02, 44.17, -56.36)
CIE-LCHlch(44.02, 71.61, 308.09°)
OKLaboklab(53.62% 0.0795 -0.1603)
OKLCHoklch(53.62% 0.179 296.4)
XYZxyz(21.1282, 13.8527, 55.5824)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FC7 #9CC74F
analogous
#4F60C7 #7A4FC7 #B64FC7
triadic
#7A4FC7 #C77A4F #4FC77A
tetradic
#7A4FC7 #C74F60 #9CC74F #4FC7B6
square
#7A4FC7 #C74F60 #9CC74F #4FC7B6
split-complementary
#7A4FC7 #C7B64F #60C74F
monochromatic
#422676 #5D34A4 #7A4FC7 #9D7DD6 #C0ACE5

Accessibility & contrast

On white

5.57
#7A4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7A4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FC7#FFFFFF#000000##FFFFFF
##7A4FC71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#676983
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4fc7;
/* rgb */ color: rgb(122, 79, 199);
/* oklch */ color: oklch(53.6% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#a582d9',
    500: '#7a4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fc7;
$custom-light: #a582d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fc7",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 261.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.17895,
    "h": 296.4
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#7A4FC7
secondary
#C0D2A0
accent
#DB4DA8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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