#7C1778#7C1778

#7C1778 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 329.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7C1778
RGBrgb(124, 23, 120)
HSLhsl(302, 69%, 29%)
HSVhsv(302, 81%, 49%)
CMYKcmyk(0%, 81.5%, 3.2%, 51.4%)
CIE-LABlab(30.05, 52.42, -31.06)
CIE-LCHlch(30.05, 60.93, 329.35°)
OKLaboklab(41.98% 0.1483 -0.0859)
OKLCHoklch(41.98% 0.171 329.9)
XYZxyz(12.0087, 6.2549, 18.3405)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1778 #177C1B
analogous
#4E177C #7C1778 #7C1746
triadic
#7C1778 #787C17 #17787C
tetradic
#7C1778 #7C4E17 #177C1B #17467C
square
#7C1778 #7C4E17 #177C1B #17467C
split-complementary
#7C1778 #467C17 #177C4E
monochromatic
#1A0519 #480D46 #7C1778 #B021AA #D934D3

Accessibility & contrast

On white

9.33
#7C1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1778
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1778#FFFFFF#000000##FFFFFF
##7C17781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7B
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#812748
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c1778;
/* rgb */ color: rgb(124, 23, 120);
/* oklch */ color: oklch(42.0% 0.171 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5629f',
    500: '#7c1778',
    950: '#000000',
  },
}
SCSS
$custom: #7c1778;
$custom-light: #a5629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1778",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 302.376,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.17141,
    "h": 329.9
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#7C1778
secondary
#3EB143
accent
#EC433C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1778

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

Preview Lab → · Contrast checker → · Palette generator →

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