#7C1C9E#7C1C9E

#7C1C9E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.198 H 314.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7C1C9E
RGBrgb(124, 28, 158)
HSLhsl(284, 70%, 36%)
HSVhsv(284, 82%, 62%)
CMYKcmyk(21.5%, 82.3%, 0%, 38%)
CIE-LABlab(33.10, 57.94, -49.71)
CIE-LCHlch(33.10, 76.34, 319.37°)
OKLaboklab(44.95% 0.1399 -0.1405)
OKLCHoklch(44.95% 0.198 314.9)
XYZxyz(14.8980, 7.5848, 33.0204)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C9E #3E9E1C
analogous
#3B1C9E #7C1C9E #9E1C7F
triadic
#7C1C9E #9E7C1C #1C9E7C
tetradic
#7C1C9E #9E3B1C #3E9E1C #1C7F9E
square
#7C1C9E #9E3B1C #3E9E1C #1C7F9E
split-complementary
#7C1C9E #7F9E1C #1C9E3B
monochromatic
#2A0A36 #53136A #7C1C9E #A525D2 #BC54E1

Accessibility & contrast

On white

8.34
#7C1C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C1C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C9E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C9E#FFFFFF#000000##FFFFFF
##7C1C9E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#793C5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1c9e;
/* rgb */ color: rgb(124, 28, 158);
/* oklch */ color: oklch(44.9% 0.198 314.9);
Tailwind
colors: {
  custom: {
    50: '#a666bb',
    500: '#7c1c9e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c9e;
$custom-light: #a666bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c9e",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 284.308,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.19826,
    "h": 314.9
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#7C1C9E
secondary
#70C452
accent
#ED3B6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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