#7D1980#7D1980

#7D1980 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 326.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1980
RGBrgb(125, 25, 128)
HSLhsl(298, 67%, 30%)
HSVhsv(298, 80%, 50%)
CMYKcmyk(2.3%, 80.5%, 0%, 49.8%)
CIE-LABlab(30.91, 53.41, -34.72)
CIE-LCHlch(30.91, 63.70, 326.98°)
OKLaboklab(42.78% 0.1475 -0.0965)
OKLCHoklch(42.78% 0.176 326.8)
XYZxyz(12.7011, 6.6147, 21.0257)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1980 #1C8019
analogous
#491980 #7D1980 #801950
triadic
#7D1980 #807D19 #19807D
tetradic
#7D1980 #804919 #1C8019 #195080
square
#7D1980 #804919 #1C8019 #195080
split-complementary
#7D1980 #508019 #198049
monochromatic
#19051A #4B0F4D #7D1980 #AF23B3 #D43BD9

Accessibility & contrast

On white

9.04
#7D1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1980
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1980#FFFFFF#000000##FFFFFF
##7D19801.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#812C4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1980;
/* rgb */ color: rgb(125, 25, 128);
/* oklch */ color: oklch(42.8% 0.176 326.8);
Tailwind
colors: {
  custom: {
    50: '#a663a5',
    500: '#7d1980',
    950: '#000000',
  },
}
SCSS
$custom: #7d1980;
$custom-light: #a663a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1980",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 298.252,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.1763,
    "h": 326.8
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#7D1980
secondary
#44B441
accent
#EA3E43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1980

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

Preview Lab → · Contrast checker → · Palette generator →

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