#7C4697#7C4697

#7C4697 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.3% C 0.136 H 313.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7C4697
RGBrgb(124, 70, 151)
HSLhsl(280, 37%, 43%)
HSVhsv(280, 54%, 59%)
CMYKcmyk(17.9%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.41, 37.73, -35.36)
CIE-LCHlch(39.41, 51.72, 316.86°)
OKLaboklab(49.35% 0.0929 -0.0987)
OKLCHoklch(49.35% 0.136 313.2)
XYZxyz(16.0873, 10.9002, 30.5286)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4697 #619746
analogous
#534697 #7C4697 #974689
triadic
#7C4697 #977C46 #46977C
tetradic
#7C4697 #975346 #619746 #468997
square
#7C4697 #975346 #619746 #468997
split-complementary
#7C4697 #899746 #469753
monochromatic
#371F43 #5A336D #7C4697 #9B63B7 #B68DCA

Accessibility & contrast

On white

6.60
#7C4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4697
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4697#FFFFFF#000000##FFFFFF
##7C46971.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#7A5368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c4697;
/* rgb */ color: rgb(124, 70, 151);
/* oklch */ color: oklch(49.3% 0.136 313.2);
Tailwind
colors: {
  custom: {
    50: '#a47bb6',
    500: '#7c4697',
    950: '#000000',
  },
}
SCSS
$custom: #7c4697;
$custom-light: #a47bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4697",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.13556,
    "h": 313.2
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#7C4697
secondary
#94B683
accent
#CD5B81
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C4697

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

Preview Lab → · Contrast checker → · Palette generator →

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