#7A4FC2#7A4FC2

#7A4FC2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.173 H 297.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7A4FC2
RGBrgb(122, 79, 194)
HSLhsl(262, 49%, 54%)
HSVhsv(262, 59%, 76%)
CMYKcmyk(37.1%, 59.3%, 0%, 23.9%)
CIE-LABlab(43.69, 42.85, -53.99)
CIE-LCHlch(43.69, 68.93, 308.44°)
OKLaboklab(53.28% 0.0796 -0.1534)
OKLCHoklch(53.28% 0.173 297.4)
XYZxyz(20.5572, 13.6243, 52.5752)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FC2 #97C24F
analogous
#4F5DC2 #7A4FC2 #B34FC2
triadic
#7A4FC2 #C27A4F #4FC27A
tetradic
#7A4FC2 #C24F5D #97C24F #4FC2B3
square
#7A4FC2 #C24F5D #97C24F #4FC2B3
split-complementary
#7A4FC2 #C2B34F #5DC24F
monochromatic
#422770 #5D379D #7A4FC2 #9C7CD2 #BFAAE2

Accessibility & contrast

On white

5.64
#7A4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7A4FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FC2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FC2#FFFFFF#000000##FFFFFF
##7A4FC21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#696881
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4fc2;
/* rgb */ color: rgb(122, 79, 194);
/* oklch */ color: oklch(53.3% 0.173 297.4);
Tailwind
colors: {
  custom: {
    50: '#a582d5',
    500: '#7a4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fc2;
$custom-light: #a582d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fc2",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 262.435,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.17282,
    "h": 297.4
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#7A4FC2
secondary
#BDCF9E
accent
#D850A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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