#7D1A80#7D1A80

#7D1A80 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 326.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7D1A80
RGBrgb(125, 26, 128)
HSLhsl(298, 66%, 30%)
HSVhsv(298, 80%, 50%)
CMYKcmyk(2.3%, 79.7%, 0%, 49.8%)
CIE-LABlab(31.02, 53.12, -34.55)
CIE-LCHlch(31.02, 63.37, 326.96°)
OKLaboklab(42.86% 0.1467 -0.096)
OKLCHoklch(42.86% 0.175 326.8)
XYZxyz(12.7229, 6.6582, 21.0329)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A80 #1D801A
analogous
#4A1A80 #7D1A80 #801A50
triadic
#7D1A80 #807D1A #1A807D
tetradic
#7D1A80 #804A1A #1D801A #1A5080
square
#7D1A80 #804A1A #1D801A #1A5080
split-complementary
#7D1A80 #50801A #1A804A
monochromatic
#1A051A #4B104D #7D1A80 #AF24B3 #D33DD8

Accessibility & contrast

On white

9.01
#7D1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A80
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A80#FFFFFF#000000##FFFFFF
##7D1A801.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1a80;
/* rgb */ color: rgb(125, 26, 128);
/* oklch */ color: oklch(42.9% 0.175 326.8);
Tailwind
colors: {
  custom: {
    50: '#a664a5',
    500: '#7d1a80',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a80;
$custom-light: #a664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a80",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 298.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.17535,
    "h": 326.8
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#7D1A80
secondary
#45B442
accent
#E93F44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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