#7C1C96#7C1C96

#7C1C96 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.191 H 317.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7C1C96
RGBrgb(124, 28, 150)
HSLhsl(287, 69%, 35%)
HSVhsv(287, 81%, 59%)
CMYKcmyk(17.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(32.52, 56.37, -45.77)
CIE-LCHlch(32.52, 72.61, 320.92°)
OKLaboklab(44.36% 0.1414 -0.1289)
OKLCHoklch(44.36% 0.191 317.6)
XYZxyz(14.2317, 7.3183, 29.5112)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C96 #36961C
analogous
#3F1C96 #7C1C96 #961C73
triadic
#7C1C96 #967C1C #1C967C
tetradic
#7C1C96 #963F1C #36961C #1C7396
square
#7C1C96 #963F1C #36961C #1C7396
split-complementary
#7C1C96 #73961C #1C963F
monochromatic
#27092F #511262 #7C1C96 #A726CA #BF4EDE

Accessibility & contrast

On white

8.52
#7C1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C96
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C96#FFFFFF#000000##FFFFFF
##7C1C961.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#7B385A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1c96;
/* rgb */ color: rgb(124, 28, 150);
/* oklch */ color: oklch(44.4% 0.191 317.6);
Tailwind
colors: {
  custom: {
    50: '#a665b6',
    500: '#7c1c96',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c96;
$custom-light: #a665b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c96",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 287.213,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.19137,
    "h": 317.6
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#7C1C96
secondary
#66C14D
accent
#EB3C62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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