#7C4983#7C4983

#7C4983 is a mid, moderate purple. Relative luminance 0.107; OKLCH L 48.7% C 0.107 H 322.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7C4983
RGBrgb(124, 73, 131)
HSLhsl(293, 28%, 40%)
HSVhsv(293, 44%, 51%)
CMYKcmyk(5.3%, 44.3%, 0%, 48.6%)
CIE-LABlab(39.05, 31.65, -23.76)
CIE-LCHlch(39.05, 39.57, 323.10°)
OKLaboklab(48.75% 0.0853 -0.0653)
OKLCHoklch(48.75% 0.107 322.6)
XYZxyz(14.7910, 10.6895, 22.7525)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4983 #508349
analogous
#5F4983 #7C4983 #83496D
triadic
#7C4983 #837C49 #49837C
tetradic
#7C4983 #835F49 #508349 #496D83
square
#7C4983 #835F49 #508349 #496D83
split-complementary
#7C4983 #6D8349 #49835F
monochromatic
#321D34 #57335C #7C4983 #9F62A7 #B789BD

Accessibility & contrast

On white

6.69
#7C4983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C4983
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4983#FFFFFF#000000##FFFFFF
##7C49831.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425885
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#7E5060
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c4983;
/* rgb */ color: rgb(124, 73, 131);
/* oklch */ color: oklch(48.7% 0.107 322.6);
Tailwind
colors: {
  custom: {
    50: '#a37da7',
    500: '#7c4983',
    950: '#000000',
  },
}
SCSS
$custom: #7c4983;
$custom-light: #a37da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4983",
  "rgb": {
    "r": 124,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 292.759,
    "s": 28.431,
    "l": 40
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.10741,
    "h": 322.6
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#7C4983
secondary
#84A97F
accent
#C5636F
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7C4983

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

Preview Lab → · Contrast checker → · Palette generator →

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