#7C4C8D#7C4C8D

#7C4C8D is a mid, moderate purple. Relative luminance 0.114; OKLCH L 49.8% C 0.113 H 316.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7C4C8D
RGBrgb(124, 76, 141)
HSLhsl(284, 30%, 43%)
HSVhsv(284, 46%, 55%)
CMYKcmyk(12.1%, 46.1%, 0%, 44.7%)
CIE-LABlab(40.21, 32.08, -28.06)
CIE-LCHlch(40.21, 42.62, 318.83°)
OKLaboklab(49.77% 0.0826 -0.0776)
OKLCHoklch(49.77% 0.113 316.8)
XYZxyz(15.7036, 11.3775, 26.5630)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4C8D #5D8D4C
analogous
#5C4C8D #7C4C8D #8D4C7D
triadic
#7C4C8D #8D7C4C #4C8D7C
tetradic
#7C4C8D #8D5C4C #5D8D4C #4C7D8D
square
#7C4C8D #8D5C4C #5D8D4C #4C7D8D
split-complementary
#7C4C8D #7D8D4C #4C8D5C
monochromatic
#36213D #593765 #7C4C8D #9C68AE #B690C3

Accessibility & contrast

On white

6.41
#7C4C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7C4C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4C8D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4C8D#FFFFFF#000000##FFFFFF
##7C4C8D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#7C5566
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c4c8d;
/* rgb */ color: rgb(124, 76, 141);
/* oklch */ color: oklch(49.8% 0.113 316.8);
Tailwind
colors: {
  custom: {
    50: '#a37fae',
    500: '#7c4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #7c4c8d;
$custom-light: #a37fae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4c8d",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 284.308,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.11333,
    "h": 316.8
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#7C4C8D
secondary
#90AF85
accent
#C6627C
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7C4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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