#7C1C87#7C1C87

#7C1C87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.179 H 323.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7C1C87
RGBrgb(124, 28, 135)
HSLhsl(294, 66%, 32%)
HSVhsv(294, 79%, 53%)
CMYKcmyk(8.1%, 79.3%, 0%, 47.1%)
CIE-LABlab(31.50, 53.54, -38.16)
CIE-LCHlch(31.50, 65.75, 324.52°)
OKLaboklab(43.31% 0.1434 -0.1066)
OKLCHoklch(43.31% 0.179 323.4)
XYZxyz(13.1002, 6.8657, 23.5522)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C87 #27871C
analogous
#471C87 #7C1C87 #871C5D
triadic
#7C1C87 #877C1C #1C877C
tetradic
#7C1C87 #87471C #27871C #1C5D87
square
#7C1C87 #87471C #27871C #1C5D87
split-complementary
#7C1C87 #5D871C #1C8747
monochromatic
#1F0722 #4D1154 #7C1C87 #AB27BA #C945D8

Accessibility & contrast

On white

8.85
#7C1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7C1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C87
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C87#FFFFFF#000000##FFFFFF
##7C1C871.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#7E3151
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1c87;
/* rgb */ color: rgb(124, 28, 135);
/* oklch */ color: oklch(43.3% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#a565aa',
    500: '#7c1c87',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c87;
$custom-light: #a565aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c87",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 293.832,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.17866,
    "h": 323.4
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#7C1C87
secondary
#51BA45
accent
#E93F51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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