#7C1980#7C1980

#7C1980 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.176 H 326.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7C1980
RGBrgb(124, 25, 128)
HSLhsl(298, 67%, 30%)
HSVhsv(298, 80%, 50%)
CMYKcmyk(3.1%, 80.5%, 0%, 49.8%)
CIE-LABlab(30.74, 53.20, -35.01)
CIE-LCHlch(30.74, 63.69, 326.65°)
OKLaboklab(42.62% 0.1464 -0.0974)
OKLCHoklch(42.62% 0.176 326.4)
XYZxyz(12.5559, 6.5397, 21.0189)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1980 #1D8019
analogous
#491980 #7C1980 #801950
triadic
#7C1980 #807C19 #19807C
tetradic
#7C1980 #804919 #1D8019 #195080
square
#7C1980 #804919 #1D8019 #195080
split-complementary
#7C1980 #508019 #198049
monochromatic
#19051A #4A0F4D #7C1980 #AE23B3 #D33BD9

Accessibility & contrast

On white

9.10
#7C1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7C1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1980
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1980#FFFFFF#000000##FFFFFF
##7C19801.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#334C7E
Tritanopia (blue-blind)
#7F2C4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c1980;
/* rgb */ color: rgb(124, 25, 128);
/* oklch */ color: oklch(42.6% 0.176 326.4);
Tailwind
colors: {
  custom: {
    50: '#a563a5',
    500: '#7c1980',
    950: '#000000',
  },
}
SCSS
$custom: #7c1980;
$custom-light: #a563a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1980",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 297.67,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.17584,
    "h": 326.4
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#7C1980
secondary
#45B441
accent
#EA3E44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C1980

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

Preview Lab → · Contrast checker → · Palette generator →

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