#7A4792#7A4792

#7A4792 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.0% C 0.127 H 314.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7A4792
RGBrgb(122, 71, 146)
HSLhsl(281, 35%, 43%)
HSVhsv(281, 51%, 57%)
CMYKcmyk(16.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(39.10, 35.46, -32.84)
CIE-LCHlch(39.10, 48.33, 317.19°)
OKLaboklab(48.98% 0.0883 -0.0915)
OKLCHoklch(48.98% 0.127 314)
XYZxyz(15.4667, 10.7198, 28.4429)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4792 #5F9247
analogous
#554792 #7A4792 #924784
triadic
#7A4792 #927A47 #47927A
tetradic
#7A4792 #925547 #5F9247 #478492
square
#7A4792 #925547 #5F9247 #478492
split-complementary
#7A4792 #849247 #479255
monochromatic
#351F40 #583369 #7A4792 #9A63B3 #B48CC7

Accessibility & contrast

On white

6.68
#7A4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4792
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4792#FFFFFF#000000##FFFFFF
##7A47921.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365995
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#785366
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a4792;
/* rgb */ color: rgb(122, 71, 146);
/* oklch */ color: oklch(49.0% 0.127 314.0);
Tailwind
colors: {
  custom: {
    50: '#a27cb2',
    500: '#7a4792',
    950: '#000000',
  },
}
SCSS
$custom: #7a4792;
$custom-light: #a27cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4792",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 280.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.12714,
    "h": 314
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#7A4792
secondary
#92B382
accent
#CB5D80
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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