#7A4EAE#7A4EAE

#7A4EAE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.150 H 302.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7A4EAE
RGBrgb(122, 78, 174)
HSLhsl(268, 38%, 49%)
HSVhsv(268, 55%, 68%)
CMYKcmyk(29.9%, 55.2%, 0%, 31.8%)
CIE-LABlab(42.22, 38.24, -44.64)
CIE-LCHlch(42.22, 58.78, 310.58°)
OKLaboklab(51.79% 0.0807 -0.1259)
OKLCHoklch(51.79% 0.15 302.7)
XYZxyz(18.3887, 12.6423, 41.5076)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EAE #82AE4E
analogous
#4E52AE #7A4EAE #AA4EAE
triadic
#7A4EAE #AE7A4E #4EAE7A
tetradic
#7A4EAE #AE4E52 #82AE4E #4EAEAA
square
#7A4EAE #AE4E52 #82AE4E #4EAEAA
split-complementary
#7A4EAE #AEAA4E #52AE4E
monochromatic
#3F2859 #5C3B84 #7A4EAE #9977C2 #B9A1D5

Accessibility & contrast

On white

5.95
#7A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7A4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EAE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EAE#FFFFFF#000000##FFFFFF
##7A4EAE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#3963AC
Tritanopia (blue-blind)
#706076
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4eae;
/* rgb */ color: rgb(122, 78, 174);
/* oklch */ color: oklch(51.8% 0.150 302.7);
Tailwind
colors: {
  custom: {
    50: '#a381c7',
    500: '#7a4eae',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eae;
$custom-light: #a381c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eae",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 267.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.14959,
    "h": 302.7
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#7A4EAE
secondary
#AEC296
accent
#CE5A99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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