#7C1E82#7C1E82

#7C1E82 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.172 H 325.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7C1E82
RGBrgb(124, 30, 130)
HSLhsl(296, 63%, 31%)
HSVhsv(296, 77%, 51%)
CMYKcmyk(4.6%, 76.9%, 0%, 49%)
CIE-LABlab(31.41, 51.98, -35.19)
CIE-LCHlch(31.41, 62.77, 325.90°)
OKLaboklab(43.14% 0.1419 -0.098)
OKLCHoklch(43.14% 0.172 325.4)
XYZxyz(12.8054, 6.8262, 21.7579)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E82 #24821E
analogous
#4A1E82 #7C1E82 #821E56
triadic
#7C1E82 #827C1E #1E827C
tetradic
#7C1E82 #824A1E #24821E #1E5682
square
#7C1E82 #824A1E #24821E #1E5682
split-complementary
#7C1E82 #56821E #1E824A
monochromatic
#1D071F #4D1350 #7C1E82 #AB29B4 #CC46D4

Accessibility & contrast

On white

8.88
#7C1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1E82
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E82#FFFFFF#000000##FFFFFF
##7C1E821.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#7F304F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1e82;
/* rgb */ color: rgb(124, 30, 130);
/* oklch */ color: oklch(43.1% 0.172 325.4);
Tailwind
colors: {
  custom: {
    50: '#a565a7',
    500: '#7c1e82',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e82;
$custom-light: #a565a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e82",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 296.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.17243,
    "h": 325.4
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#7C1E82
secondary
#4DB547
accent
#E6424C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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