#7C1794#7C1794

#7C1794 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.9% C 0.194 H 318.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7C1794
RGBrgb(124, 23, 148)
HSLhsl(288, 73%, 34%)
HSVhsv(288, 84%, 58%)
CMYKcmyk(16.2%, 84.5%, 0%, 42%)
CIE-LABlab(31.89, 57.40, -45.57)
CIE-LCHlch(31.89, 73.29, 321.56°)
OKLaboklab(43.87% 0.1454 -0.1283)
OKLCHoklch(43.87% 0.194 318.6)
XYZxyz(13.9631, 7.0367, 28.6340)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1794 #2F9417
analogous
#3D1794 #7C1794 #94176D
triadic
#7C1794 #947C17 #17947C
tetradic
#7C1794 #943D17 #2F9417 #176D94
square
#7C1794 #943D17 #2F9417 #176D94
split-complementary
#7C1794 #6D9417 #17943D
monochromatic
#23072A #500F5F #7C1794 #A81FC9 #C344E2

Accessibility & contrast

On white

8.72
#7C1794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7C1794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1794
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1794#FFFFFF#000000##FFFFFF
##7C17941.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#7B3558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7c1794;
/* rgb */ color: rgb(124, 23, 148);
/* oklch */ color: oklch(43.9% 0.194 318.6);
Tailwind
colors: {
  custom: {
    50: '#a663b4',
    500: '#7c1794',
    950: '#000000',
  },
}
SCSS
$custom: #7c1794;
$custom-light: #a663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1794",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 288.48,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.19393,
    "h": 318.6
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#7C1794
secondary
#5CC344
accent
#F0385B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1794

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

Preview Lab → · Contrast checker → · Palette generator →

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