#7C4E8D#7C4E8D

#7C4E8D is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.1% C 0.110 H 316.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C4E8D
RGBrgb(124, 78, 141)
HSLhsl(284, 29%, 43%)
HSVhsv(284, 45%, 55%)
CMYKcmyk(12.1%, 44.7%, 0%, 44.7%)
CIE-LABlab(40.67, 30.92, -27.34)
CIE-LCHlch(40.67, 41.28, 318.52°)
OKLaboklab(50.11% 0.0795 -0.0756)
OKLCHoklch(50.11% 0.11 316.5)
XYZxyz(15.8436, 11.6574, 26.6096)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E8D #5F8D4E
analogous
#5D4E8D #7C4E8D #8D4E7E
triadic
#7C4E8D #8D7C4E #4E8D7C
tetradic
#7C4E8D #8D5D4E #5F8D4E #4E7E8D
square
#7C4E8D #8D5D4E #5F8D4E #4E7E8D
split-complementary
#7C4E8D #7E8D4E #4E8D5D
monochromatic
#37223E #593866 #7C4E8D #9B6BAD #B692C3

Accessibility & contrast

On white

6.30
#7C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E8D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E8D#FFFFFF#000000##FFFFFF
##7C4E8D1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#7B5767
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c4e8d;
/* rgb */ color: rgb(124, 78, 141);
/* oklch */ color: oklch(50.1% 0.110 316.5);
Tailwind
colors: {
  custom: {
    50: '#a381ae',
    500: '#7c4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e8d;
$custom-light: #a381ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e8d",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 283.81,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.10969,
    "h": 316.5
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#7C4E8D
secondary
#92AF87
accent
#C5637D
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7C4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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