#7C4E89#7C4E89

#7C4E89 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.9% C 0.105 H 318.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7C4E89
RGBrgb(124, 78, 137)
HSLhsl(287, 27%, 42%)
HSVhsv(287, 43%, 54%)
CMYKcmyk(9.5%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.48, 30.04, -25.21)
CIE-LCHlch(40.48, 39.22, 320.00°)
OKLaboklab(49.91% 0.0787 -0.0694)
OKLCHoklch(49.91% 0.105 318.6)
XYZxyz(15.5513, 11.5405, 25.0704)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E89 #5B894E
analogous
#5F4E89 #7C4E89 #894E79
triadic
#7C4E89 #897C4E #4E897C
tetradic
#7C4E89 #895F4E #5B894E #4E7989
square
#7C4E89 #895F4E #5B894E #4E7989
split-complementary
#7C4E89 #79894E #4E895F
monochromatic
#35223B #593862 #7C4E89 #9C6AAA #B691C0

Accessibility & contrast

On white

6.35
#7C4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7C4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E89
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E89#FFFFFF#000000##FFFFFF
##7C4E891.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#7C5665
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c4e89;
/* rgb */ color: rgb(124, 78, 137);
/* oklch */ color: oklch(49.9% 0.105 318.6);
Tailwind
colors: {
  custom: {
    50: '#a381ab',
    500: '#7c4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e89;
$custom-light: #a381ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e89",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 286.78,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.10497,
    "h": 318.6
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#7C4E89
secondary
#8EAD86
accent
#C46479
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7C4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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