#7C1784#7C1784

#7C1784 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.181 H 324.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7C1784
RGBrgb(124, 23, 132)
HSLhsl(296, 70%, 30%)
HSVhsv(296, 83%, 52%)
CMYKcmyk(6.1%, 82.6%, 0%, 48.2%)
CIE-LABlab(30.79, 54.47, -37.42)
CIE-LCHlch(30.79, 66.09, 325.51°)
OKLaboklab(42.75% 0.1477 -0.1044)
OKLCHoklch(42.75% 0.181 324.7)
XYZxyz(12.7831, 6.5647, 22.4191)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1784 #1F8417
analogous
#451784 #7C1784 #841756
triadic
#7C1784 #847C17 #17847C
tetradic
#7C1784 #844517 #1F8417 #175684
square
#7C1784 #844517 #1F8417 #175684
split-complementary
#7C1784 #568417 #178445
monochromatic
#1A051C #4B0E50 #7C1784 #AD20B8 #D039DC

Accessibility & contrast

On white

9.08
#7C1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1784
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1784#FFFFFF#000000##FFFFFF
##7C17841.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#2F4C82
Tritanopia (blue-blind)
#7F2D4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1784;
/* rgb */ color: rgb(124, 23, 132);
/* oklch */ color: oklch(42.7% 0.181 324.7);
Tailwind
colors: {
  custom: {
    50: '#a663a8',
    500: '#7c1784',
    950: '#000000',
  },
}
SCSS
$custom: #7c1784;
$custom-light: #a663a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1784",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 295.596,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42747,
    "c": 0.18086,
    "h": 324.7
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#7C1784
secondary
#48B83F
accent
#ED3B48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1784

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

Preview Lab → · Contrast checker → · Palette generator →

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