#7A4AAF#7A4AAF

#7A4AAF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.157 H 303.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7A4AAF
RGBrgb(122, 74, 175)
HSLhsl(269, 41%, 49%)
HSVhsv(269, 58%, 69%)
CMYKcmyk(30.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(41.42, 40.74, -46.50)
CIE-LCHlch(41.42, 61.82, 311.22°)
OKLaboklab(51.23% 0.086 -0.1314)
OKLCHoklch(51.23% 0.157 303.2)
XYZxyz(18.2109, 12.1303, 41.9311)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4AAF #7FAF4A
analogous
#4A4DAF #7A4AAF #AD4AAF
triadic
#7A4AAF #AF7A4A #4AAF7A
tetradic
#7A4AAF #AF4A4D #7FAF4A #4AAFAD
square
#7A4AAF #AF4A4D #7FAF4A #4AAFAD
split-complementary
#7A4AAF #AFAD4A #4DAF4A
monochromatic
#3E2659 #5C3884 #7A4AAF #9973C4 #B89ED6

Accessibility & contrast

On white

6.13
#7A4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7A4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4AAF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4AAF#FFFFFF#000000##FFFFFF
##7A4AAF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#705E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a4aaf;
/* rgb */ color: rgb(122, 74, 175);
/* oklch */ color: oklch(51.2% 0.157 303.2);
Tailwind
colors: {
  custom: {
    50: '#a47ec7',
    500: '#7a4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4aaf;
$custom-light: #a47ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4aaf",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 268.515,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.15704,
    "h": 303.2
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#7A4AAF
secondary
#ACC292
accent
#D05797
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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