#7C1678#7C1678

#7C1678 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 329.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7C1678
RGBrgb(124, 22, 120)
HSLhsl(302, 70%, 29%)
HSVhsv(302, 82%, 49%)
CMYKcmyk(0%, 82.3%, 3.2%, 51.4%)
CIE-LABlab(29.95, 52.69, -31.22)
CIE-LCHlch(29.95, 61.25, 329.36°)
OKLaboklab(41.91% 0.1491 -0.0863)
OKLCHoklch(41.91% 0.172 329.9)
XYZxyz(11.9892, 6.2159, 18.3340)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1678 #167C1A
analogous
#4D167C #7C1678 #7C1645
triadic
#7C1678 #787C16 #16787C
tetradic
#7C1678 #7C4D16 #167C1A #16457C
square
#7C1678 #7C4D16 #167C1A #16457C
split-complementary
#7C1678 #457C16 #167C4D
monochromatic
#1A0519 #480D46 #7C1678 #B01FAA #DB32D4

Accessibility & contrast

On white

9.36
#7C1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1678
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1678#FFFFFF#000000##FFFFFF
##7C16781.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1678;
/* rgb */ color: rgb(124, 22, 120);
/* oklch */ color: oklch(41.9% 0.172 329.9);
Tailwind
colors: {
  custom: {
    50: '#a5629f',
    500: '#7c1678',
    950: '#000000',
  },
}
SCSS
$custom: #7c1678;
$custom-light: #a5629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1678",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 302.353,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.17231,
    "h": 329.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#7C1678
secondary
#3DB141
accent
#ED423B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1678

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

Preview Lab → · Contrast checker → · Palette generator →

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