#7A4084#7A4084

#7A4084 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.1% C 0.124 H 321.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7A4084
RGBrgb(122, 64, 132)
HSLhsl(291, 35%, 38%)
HSVhsv(291, 52%, 52%)
CMYKcmyk(7.6%, 51.5%, 0%, 48.2%)
CIE-LABlab(36.88, 36.30, -27.80)
CIE-LCHlch(36.88, 45.72, 322.55°)
OKLaboklab(47.09% 0.0968 -0.0768)
OKLCHoklch(47.09% 0.124 321.6)
XYZxyz(14.0238, 9.4709, 22.9147)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4084 #4A8440
analogous
#584084 #7A4084 #84406C
triadic
#7A4084 #847A40 #40847A
tetradic
#7A4084 #845840 #4A8440 #406C84
square
#7A4084 #845840 #4A8440 #406C84
split-complementary
#7A4084 #6C8440 #408458
monochromatic
#2E1832 #542C5B #7A4084 #A055AC #B77EC0

Accessibility & contrast

On white

7.26
#7A4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7A4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A4084
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4084#FFFFFF#000000##FFFFFF
##7A40841.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#7B495C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a4084;
/* rgb */ color: rgb(122, 64, 132);
/* oklch */ color: oklch(47.1% 0.124 321.6);
Tailwind
colors: {
  custom: {
    50: '#a277a8',
    500: '#7a4084',
    950: '#000000',
  },
}
SCSS
$custom: #7a4084;
$custom-light: #a277a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4084",
  "rgb": {
    "r": 122,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 291.176,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47089,
    "c": 0.1236,
    "h": 321.6
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#7A4084
secondary
#7DAB75
accent
#CB5D6D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #7A4084

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

Preview Lab → · Contrast checker → · Palette generator →

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