#7C1E96#7C1E96

#7C1E96 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 317.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7C1E96
RGBrgb(124, 30, 150)
HSLhsl(287, 67%, 35%)
HSVhsv(287, 80%, 59%)
CMYKcmyk(17.3%, 80%, 0%, 41.2%)
CIE-LABlab(32.74, 55.74, -45.43)
CIE-LCHlch(32.74, 71.91, 320.82°)
OKLaboklab(44.51% 0.1398 -0.1279)
OKLCHoklch(44.51% 0.19 317.5)
XYZxyz(14.2807, 7.4163, 29.5275)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E96 #38961E
analogous
#401E96 #7C1E96 #961E74
triadic
#7C1E96 #967C1E #1E967C
tetradic
#7C1E96 #96401E #38961E #1E7496
square
#7C1E96 #96401E #38961E #1E7496
split-complementary
#7C1E96 #74961E #1E9640
monochromatic
#280A30 #521463 #7C1E96 #A628C9 #BE52DC

Accessibility & contrast

On white

8.46
#7C1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E96
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E96#FFFFFF#000000##FFFFFF
##7C1E961.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#7B395A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c1e96;
/* rgb */ color: rgb(124, 30, 150);
/* oklch */ color: oklch(44.5% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#a666b6',
    500: '#7c1e96',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e96;
$custom-light: #a666b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e96",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 287,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.1895,
    "h": 317.5
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#7C1E96
secondary
#68BF50
accent
#EA3E63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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