#7A4FA5#7A4FA5

#7A4FA5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.137 H 305.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A4FA5
RGBrgb(122, 79, 165)
HSLhsl(270, 35%, 48%)
HSVhsv(270, 52%, 65%)
CMYKcmyk(26.1%, 52.1%, 0%, 35.3%)
CIE-LABlab(41.92, 35.41, -39.79)
CIE-LCHlch(41.92, 53.27, 311.67°)
OKLaboklab(51.4% 0.0788 -0.1117)
OKLCHoklch(51.4% 0.137 305.2)
XYZxyz(17.6121, 12.4463, 37.0645)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FA5 #7AA54F
analogous
#4F4FA5 #7A4FA5 #A54FA5
triadic
#7A4FA5 #A57A4F #4FA57A
tetradic
#7A4FA5 #A54F4F #7AA54F #4FA5A5
square
#7A4FA5 #A54F4F #7AA54F #4FA5A5
split-complementary
#7A4FA5 #A5A54F #4FA54F
monochromatic
#3D2752 #5B3B7C #7A4FA5 #9975BD #B79ED1

Accessibility & contrast

On white

6.02
#7A4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7A4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FA5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FA5#FFFFFF#000000##FFFFFF
##7A4FA51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A8
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#735E72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4fa5;
/* rgb */ color: rgb(122, 79, 165);
/* oklch */ color: oklch(51.4% 0.137 305.2);
Tailwind
colors: {
  custom: {
    50: '#a382c0',
    500: '#7a4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fa5;
$custom-light: #a382c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fa5",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 270,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.13673,
    "h": 305.2
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#7A4FA5
secondary
#A8BD92
accent
#CB5D94
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7A4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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