#7A4FC9#7A4FC9

#7A4FC9 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.181 H 296.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A4FC9
RGBrgb(122, 79, 201)
HSLhsl(261, 53%, 55%)
HSVhsv(261, 61%, 79%)
CMYKcmyk(39.3%, 60.7%, 0%, 21.2%)
CIE-LABlab(44.16, 44.71, -57.30)
CIE-LCHlch(44.16, 72.67, 307.96°)
OKLaboklab(53.76% 0.0794 -0.1631)
OKLCHoklch(53.76% 0.181 296)
XYZxyz(21.3619, 13.9462, 56.8134)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FC9 #9EC94F
analogous
#4F61C9 #7A4FC9 #B74FC9
triadic
#7A4FC9 #C97A4F #4FC97A
tetradic
#7A4FC9 #C94F61 #9EC94F #4FC9B7
square
#7A4FC9 #C94F61 #9EC94F #4FC9B7
split-complementary
#7A4FC9 #C9B74F #61C94F
monochromatic
#422579 #5C33A7 #7A4FC9 #9D7ED7 #C1ADE6

Accessibility & contrast

On white

5.54
#7A4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7A4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FC9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FC9#FFFFFF#000000##FFFFFF
##7A4FC91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#1167C6
Tritanopia (blue-blind)
#666A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4fc9;
/* rgb */ color: rgb(122, 79, 201);
/* oklch */ color: oklch(53.8% 0.181 296.0);
Tailwind
colors: {
  custom: {
    50: '#a682da',
    500: '#7a4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fc9;
$custom-light: #a682da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fc9",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 261.148,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.18139,
    "h": 296
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#7A4FC9
secondary
#C1D4A0
accent
#DC4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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