#7A4E8A#7A4E8A

#7A4E8A is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.7% C 0.105 H 316.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7A4E8A
RGBrgb(122, 78, 138)
HSLhsl(284, 28%, 42%)
HSVhsv(284, 43%, 54%)
CMYKcmyk(11.6%, 43.5%, 0%, 45.9%)
CIE-LABlab(40.28, 29.62, -26.14)
CIE-LCHlch(40.28, 39.50, 318.57°)
OKLaboklab(49.72% 0.0764 -0.0722)
OKLCHoklch(49.72% 0.105 316.6)
XYZxyz(15.3372, 11.4218, 25.4365)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4E8A #5E8A4E
analogous
#5C4E8A #7A4E8A #8A4E7C
triadic
#7A4E8A #8A7A4E #4E8A7A
tetradic
#7A4E8A #8A5C4E #5E8A4E #4E7C8A
square
#7A4E8A #8A5C4E #5E8A4E #4E7C8A
split-complementary
#7A4E8A #7C8A4E #4E8A5C
monochromatic
#35223C #573863 #7A4E8A #9A6AAB #B491C1

Accessibility & contrast

On white

6.39
#7A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4E8A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4E8A#FFFFFF#000000##FFFFFF
##7A4E8A1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#7A5665
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a4e8a;
/* rgb */ color: rgb(122, 78, 138);
/* oklch */ color: oklch(49.7% 0.105 316.6);
Tailwind
colors: {
  custom: {
    50: '#a180ac',
    500: '#7a4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a4e8a;
$custom-light: #a180ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4e8a",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 284,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.10506,
    "h": 316.6
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#7A4E8A
secondary
#91AE86
accent
#C4647D
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7A4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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