#7A4EAA#7A4EAA

#7A4EAA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.145 H 303.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7A4EAA
RGBrgb(122, 78, 170)
HSLhsl(269, 37%, 49%)
HSVhsv(269, 54%, 67%)
CMYKcmyk(28.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(41.98, 37.23, -42.65)
CIE-LCHlch(41.98, 56.62, 311.12°)
OKLaboklab(51.54% 0.0805 -0.1201)
OKLCHoklch(51.54% 0.145 303.8)
XYZxyz(18.0045, 12.4887, 39.4845)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EAA #7EAA4E
analogous
#4E50AA #7A4EAA #A84EAA
triadic
#7A4EAA #AA7A4E #4EAA7A
tetradic
#7A4EAA #AA4E50 #7EAA4E #4EAAA8
square
#7A4EAA #AA4E50 #7EAA4E #4EAAA8
split-complementary
#7A4EAA #AAA84E #50AA4E
monochromatic
#3E2856 #5C3B80 #7A4EAA #9975C0 #B89FD3

Accessibility & contrast

On white

6.00
#7A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7A4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EAA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EAA#FFFFFF#000000##FFFFFF
##7A4EAA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#715F74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4eaa;
/* rgb */ color: rgb(122, 78, 170);
/* oklch */ color: oklch(51.5% 0.145 303.8);
Tailwind
colors: {
  custom: {
    50: '#a381c4',
    500: '#7a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eaa;
$custom-light: #a381c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eaa",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 268.696,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.14461,
    "h": 303.8
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#7A4EAA
secondary
#ABC094
accent
#CD5B96
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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