#7C4E7B#7C4E7B

#7C4E7B is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.2% C 0.089 H 327.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7C4E7B
RGBrgb(124, 78, 123)
HSLhsl(301, 23%, 40%)
HSVhsv(301, 37%, 49%)
CMYKcmyk(0%, 37.1%, 0.8%, 51.4%)
CIE-LABlab(39.86, 27.09, -17.61)
CIE-LCHlch(39.86, 32.31, 326.97°)
OKLaboklab(49.24% 0.0753 -0.0478)
OKLCHoklch(49.24% 0.089 327.6)
XYZxyz(14.6114, 11.1645, 20.1204)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E7B #4E7C4F
analogous
#664E7C #7C4E7B #7C4E64
triadic
#7C4E7B #7B7C4E #4E7B7C
tetradic
#7C4E7B #7C664E #4E7C4F #4E647C
square
#7C4E7B #7C664E #4E7C4F #4E647C
split-complementary
#7C4E7B #647C4E #4E7C66
monochromatic
#311F30 #563656 #7C4E7B #A0679E #B78DB6

Accessibility & contrast

On white

6.50
#7C4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C4E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E7B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E7B#FFFFFF#000000##FFFFFF
##7C4E7B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7D
Deuteranopia (green-blind)
#576079
Tritanopia (blue-blind)
#7F525F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c4e7b;
/* rgb */ color: rgb(124, 78, 123);
/* oklch */ color: oklch(49.2% 0.089 327.6);
Tailwind
colors: {
  custom: {
    50: '#a380a1',
    500: '#7c4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e7b;
$custom-light: #a380a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e7b",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 301.304,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.08922,
    "h": 327.6
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#7C4E7B
secondary
#82A482
accent
#BF6A69
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #7C4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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