#7C4792#7C4792

#7C4792 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.2% C 0.128 H 315.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C4792
RGBrgb(124, 71, 146)
HSLhsl(282, 35%, 43%)
HSVhsv(282, 51%, 57%)
CMYKcmyk(15.1%, 51.4%, 0%, 42.7%)
CIE-LABlab(39.36, 36.04, -32.43)
CIE-LCHlch(39.36, 48.49, 318.02°)
OKLaboklab(49.22% 0.0909 -0.0902)
OKLCHoklch(49.22% 0.128 315.2)
XYZxyz(15.7529, 10.8673, 28.4563)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4792 #5D9247
analogous
#574792 #7C4792 #924782
triadic
#7C4792 #927C47 #47927C
tetradic
#7C4792 #925747 #5D9247 #478292
square
#7C4792 #925747 #5D9247 #478292
split-complementary
#7C4792 #829247 #479257
monochromatic
#361F40 #593369 #7C4792 #9C63B3 #B68CC7

Accessibility & contrast

On white

6.62
#7C4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4792
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4792#FFFFFF#000000##FFFFFF
##7C47921.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#7B5266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c4792;
/* rgb */ color: rgb(124, 71, 146);
/* oklch */ color: oklch(49.2% 0.128 315.2);
Tailwind
colors: {
  custom: {
    50: '#a47cb2',
    500: '#7c4792',
    950: '#000000',
  },
}
SCSS
$custom: #7c4792;
$custom-light: #a47cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4792",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 282.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.12805,
    "h": 315.2
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#7C4792
secondary
#90B382
accent
#CB5D7D
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C4792

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

Preview Lab → · Contrast checker → · Palette generator →

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