#7D1C80#7D1C80

#7D1C80 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.173 H 326.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7D1C80
RGBrgb(125, 28, 128)
HSLhsl(298, 64%, 31%)
HSVhsv(298, 78%, 50%)
CMYKcmyk(2.3%, 78.1%, 0%, 49.8%)
CIE-LABlab(31.23, 52.50, -34.21)
CIE-LCHlch(31.23, 62.66, 326.91°)
OKLaboklab(43.01% 0.145 -0.0951)
OKLCHoklch(43.01% 0.173 326.7)
XYZxyz(12.7688, 6.7499, 21.0482)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C80 #1F801C
analogous
#4B1C80 #7D1C80 #801C51
triadic
#7D1C80 #807D1C #1C807D
tetradic
#7D1C80 #804B1C #1F801C #1C5180
square
#7D1C80 #804B1C #1F801C #1C5180
split-complementary
#7D1C80 #51801C #1C804B
monochromatic
#1B061C #4C114E #7D1C80 #AE27B2 #D141D5

Accessibility & contrast

On white

8.94
#7D1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C80
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C80#FFFFFF#000000##FFFFFF
##7D1C801.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#812D4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1c80;
/* rgb */ color: rgb(125, 28, 128);
/* oklch */ color: oklch(43.0% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#a664a5',
    500: '#7d1c80',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c80;
$custom-light: #a664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c80",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 298.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.17336,
    "h": 326.7
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#7D1C80
secondary
#48B344
accent
#E74146
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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