#7C1E9C#7C1E9C

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

Color values

HEX#7C1E9C
RGBrgb(124, 30, 156)
HSLhsl(285, 68%, 36%)
HSVhsv(285, 81%, 61%)
CMYKcmyk(20.5%, 80.8%, 0%, 38.8%)
CIE-LABlab(33.17, 56.93, -48.39)
CIE-LCHlch(33.17, 74.71, 319.63°)
OKLaboklab(44.95% 0.1388 -0.1366)
OKLCHoklch(44.95% 0.195 315.4)
XYZxyz(14.7762, 7.6145, 32.1374)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E9C #3E9C1E
analogous
#3D1E9C #7C1E9C #9C1E7D
triadic
#7C1E9C #9C7C1E #1E9C7C
tetradic
#7C1E9C #9C3D1E #3E9C1E #1E7D9C
square
#7C1E9C #9C3D1E #3E9C1E #1E7D9C
split-complementary
#7C1E9C #7D9C1E #1E9C3D
monochromatic
#2A0A35 #531469 #7C1E9C #A528CF #BC56DE

Accessibility & contrast

On white

8.32
#7C1E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E9C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E9C#FFFFFF#000000##FFFFFF
##7C1E9C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#793C5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c1e9c;
/* rgb */ color: rgb(124, 30, 156);
/* oklch */ color: oklch(44.9% 0.195 315.4);
Tailwind
colors: {
  custom: {
    50: '#a666ba',
    500: '#7c1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e9c;
$custom-light: #a666ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e9c",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 284.762,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.19473,
    "h": 315.4
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#7C1E9C
secondary
#70C254
accent
#EB3D69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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