#7C4099#7C4099

#7C4099 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.6% C 0.148 H 313.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7C4099
RGBrgb(124, 64, 153)
HSLhsl(280, 41%, 43%)
HSVhsv(280, 58%, 60%)
CMYKcmyk(19%, 58.2%, 0%, 40%)
CIE-LABlab(38.29, 41.45, -38.35)
CIE-LCHlch(38.29, 56.47, 317.23°)
OKLaboklab(48.56% 0.1014 -0.1074)
OKLCHoklch(48.56% 0.148 313.3)
XYZxyz(15.8944, 10.2522, 31.2724)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4099 #5D9940
analogous
#4F4099 #7C4099 #99408A
triadic
#7C4099 #997C40 #40997C
tetradic
#7C4099 #994F40 #5D9940 #408A99
square
#7C4099 #994F40 #5D9940 #408A99
split-complementary
#7C4099 #8A9940 #40994F
monochromatic
#361C43 #592E6E #7C4099 #9C5CBB #B687CD

Accessibility & contrast

On white

6.88
#7C4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4099
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4099#FFFFFF#000000##FFFFFF
##7C40991.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#794F66
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c4099;
/* rgb */ color: rgb(124, 64, 153);
/* oklch */ color: oklch(48.6% 0.148 313.3);
Tailwind
colors: {
  custom: {
    50: '#a478b7',
    500: '#7c4099',
    950: '#000000',
  },
}
SCSS
$custom: #7c4099;
$custom-light: #a478b7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4099",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 280.449,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.14771,
    "h": 313.3
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#7C4099
secondary
#90B77E
accent
#D1577F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C4099

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

Preview Lab → · Contrast checker → · Palette generator →

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