#7A4072#7A4072

#7A4072 is a mid, moderate purple. Relative luminance 0.090; OKLCH L 46.2% C 0.105 H 332.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7A4072
RGBrgb(122, 64, 114)
HSLhsl(308, 31%, 36%)
HSVhsv(308, 48%, 48%)
CMYKcmyk(0%, 47.5%, 6.6%, 52.2%)
CIE-LABlab(36.02, 32.69, -17.95)
CIE-LCHlch(36.02, 37.30, 331.23°)
OKLaboklab(46.18% 0.0933 -0.0487)
OKLCHoklch(46.18% 0.105 332.4)
XYZxyz(12.8966, 9.0200, 16.9781)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4072 #407A48
analogous
#65407A #7A4072 #7A4055
triadic
#7A4072 #727A40 #40727A
tetradic
#7A4072 #7A6540 #407A48 #40557A
square
#7A4072 #7A6540 #407A48 #40557A
split-complementary
#7A4072 #557A40 #407A65
monochromatic
#2A1627 #522B4C #7A4072 #A25598 #BA7BB1

Accessibility & contrast

On white

7.49
#7A4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A4072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A4072
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4072#FFFFFF#000000##FFFFFF
##7A40721.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#7E4453
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a4072;
/* rgb */ color: rgb(122, 64, 114);
/* oklch */ color: oklch(46.2% 0.105 332.4);
Tailwind
colors: {
  custom: {
    50: '#a2779a',
    500: '#7a4072',
    950: '#000000',
  },
}
SCSS
$custom: #7a4072;
$custom-light: #a2779a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4072",
  "rgb": {
    "r": 122,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 308.276,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.10525,
    "h": 332.4
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#7A4072
secondary
#72A479
accent
#C76F60
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7A4072

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

Preview Lab → · Contrast checker → · Palette generator →

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