#7A4CAE#7A4CAE

#7A4CAE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.153 H 303.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7A4CAE
RGBrgb(122, 76, 174)
HSLhsl(268, 39%, 49%)
HSVhsv(268, 56%, 68%)
CMYKcmyk(29.9%, 56.3%, 0%, 31.8%)
CIE-LABlab(41.79, 39.37, -45.33)
CIE-LCHlch(41.79, 60.04, 310.97°)
OKLaboklab(51.48% 0.0834 -0.1279)
OKLCHoklch(51.48% 0.153 303.1)
XYZxyz(18.2487, 12.3625, 41.4610)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CAE #80AE4C
analogous
#4C4FAE #7A4CAE #AB4CAE
triadic
#7A4CAE #AE7A4C #4CAE7A
tetradic
#7A4CAE #AE4C4F #80AE4C #4CAEAB
square
#7A4CAE #AE4C4F #80AE4C #4CAEAB
split-complementary
#7A4CAE #AEAB4C #4FAE4C
monochromatic
#3E2759 #5C3983 #7A4CAE #9975C3 #B99FD5

Accessibility & contrast

On white

6.05
#7A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7A4CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CAE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CAE#FFFFFF#000000##FFFFFF
##7A4CAE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#705F75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4cae;
/* rgb */ color: rgb(122, 76, 174);
/* oklch */ color: oklch(51.5% 0.153 303.1);
Tailwind
colors: {
  custom: {
    50: '#a380c7',
    500: '#7a4cae',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cae;
$custom-light: #a380c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cae",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 268.163,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.15273,
    "h": 303.1
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#7A4CAE
secondary
#ACC294
accent
#CF5998
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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