#7C1176#7C1176

#7C1176 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 330.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7C1176
RGBrgb(124, 17, 118)
HSLhsl(303, 76%, 28%)
HSVhsv(303, 86%, 49%)
CMYKcmyk(0%, 86.3%, 4.8%, 51.4%)
CIE-LABlab(29.40, 53.62, -30.82)
CIE-LCHlch(29.40, 61.85, 330.11°)
OKLaboklab(41.48% 0.1528 -0.0852)
OKLCHoklch(41.48% 0.175 330.9)
XYZxyz(11.7826, 5.9950, 17.6726)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1176 #117C17
analogous
#4C117C #7C1176 #7C1141
triadic
#7C1176 #767C11 #11767C
tetradic
#7C1176 #7C4C11 #117C17 #11417C
square
#7C1176 #7C4C11 #117C17 #11417C
split-complementary
#7C1176 #417C11 #117C4C
monochromatic
#1B041A #460A43 #7C1176 #B218A9 #E126D7

Accessibility & contrast

On white

9.55
#7C1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C1176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1176
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1176#FFFFFF#000000##FFFFFF
##7C11761.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#812245
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1176;
/* rgb */ color: rgb(124, 17, 118);
/* oklch */ color: oklch(41.5% 0.175 330.9);
Tailwind
colors: {
  custom: {
    50: '#a6609e',
    500: '#7c1176',
    950: '#000000',
  },
}
SCSS
$custom: #7c1176;
$custom-light: #a6609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1176",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 303.364,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.17491,
    "h": 330.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#7C1176
secondary
#37B23E
accent
#F24035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7C1176

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

Preview Lab → · Contrast checker → · Palette generator →

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