#7C4A92#7C4A92

#7C4A92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 49.7% C 0.123 H 314.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7C4A92
RGBrgb(124, 74, 146)
HSLhsl(282, 33%, 43%)
HSVhsv(282, 49%, 57%)
CMYKcmyk(15.1%, 49.3%, 0%, 42.7%)
CIE-LABlab(40.01, 34.35, -31.39)
CIE-LCHlch(40.01, 46.53, 317.57°)
OKLaboklab(49.71% 0.0864 -0.0872)
OKLCHoklch(49.71% 0.123 314.7)
XYZxyz(15.9484, 11.2584, 28.5215)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4A92 #60924A
analogous
#584A92 #7C4A92 #924A84
triadic
#7C4A92 #927C4A #4A927C
tetradic
#7C4A92 #92584A #60924A #4A8492
square
#7C4A92 #92584A #60924A #4A8492
split-complementary
#7C4A92 #84924A #4A9258
monochromatic
#372141 #5A3569 #7C4A92 #9B67B2 #B690C7

Accessibility & contrast

On white

6.46
#7C4A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C4A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4A92
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4A92#FFFFFF#000000##FFFFFF
##7C4A921.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#7B5567
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c4a92;
/* rgb */ color: rgb(124, 74, 146);
/* oklch */ color: oklch(49.7% 0.123 314.7);
Tailwind
colors: {
  custom: {
    50: '#a37eb2',
    500: '#7c4a92',
    950: '#000000',
  },
}
SCSS
$custom: #7c4a92;
$custom-light: #a37eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4a92",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 146
  },
  "hsl": {
    "h": 281.667,
    "s": 32.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.12281,
    "h": 314.7
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#7C4A92
secondary
#93B385
accent
#C95F7F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7C4A92

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

Preview Lab → · Contrast checker → · Palette generator →

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