#7C1E80#7C1E80

#7C1E80 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.171 H 326.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7C1E80
RGBrgb(124, 30, 128)
HSLhsl(298, 62%, 31%)
HSVhsv(298, 77%, 50%)
CMYKcmyk(3.1%, 76.6%, 0%, 49.8%)
CIE-LABlab(31.28, 51.62, -34.13)
CIE-LCHlch(31.28, 61.89, 326.53°)
OKLaboklab(43.01% 0.142 -0.0949)
OKLCHoklch(43.01% 0.171 326.2)
XYZxyz(12.6725, 6.7730, 21.0577)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E80 #22801E
analogous
#4B1E80 #7C1E80 #801E53
triadic
#7C1E80 #807C1E #1E807C
tetradic
#7C1E80 #804B1E #22801E #1E5380
square
#7C1E80 #804B1E #22801E #1E5380
split-complementary
#7C1E80 #53801E #1E804B
monochromatic
#1C071D #4C124E #7C1E80 #AC2AB2 #CE45D3

Accessibility & contrast

On white

8.92
#7C1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E80
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E80#FFFFFF#000000##FFFFFF
##7C1E801.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#7F2F4E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c1e80;
/* rgb */ color: rgb(124, 30, 128);
/* oklch */ color: oklch(43.0% 0.171 326.2);
Tailwind
colors: {
  custom: {
    50: '#a565a5',
    500: '#7c1e80',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e80;
$custom-light: #a565a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e80",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 297.551,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.17076,
    "h": 326.2
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#7C1E80
secondary
#4BB347
accent
#E54349
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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