#7D1B80#7D1B80

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

Color values

HEX#7D1B80
RGBrgb(125, 27, 128)
HSLhsl(298, 65%, 30%)
HSVhsv(298, 79%, 50%)
CMYKcmyk(2.3%, 78.9%, 0%, 49.8%)
CIE-LABlab(31.12, 52.81, -34.38)
CIE-LCHlch(31.12, 63.02, 326.93°)
OKLaboklab(42.93% 0.1459 -0.0956)
OKLCHoklch(42.93% 0.174 326.8)
XYZxyz(12.7454, 6.7033, 21.0404)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B80 #1E801B
analogous
#4A1B80 #7D1B80 #801B50
triadic
#7D1B80 #807D1B #1B807D
tetradic
#7D1B80 #804A1B #1E801B #1B5080
square
#7D1B80 #804A1B #1E801B #1B5080
split-complementary
#7D1B80 #50801B #1B804A
monochromatic
#1A061B #4C104D #7D1B80 #AE26B3 #D23FD6

Accessibility & contrast

On white

8.97
#7D1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B80
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B80#FFFFFF#000000##FFFFFF
##7D1B801.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1b80;
/* rgb */ color: rgb(125, 27, 128);
/* oklch */ color: oklch(42.9% 0.174 326.8);
Tailwind
colors: {
  custom: {
    50: '#a664a5',
    500: '#7d1b80',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b80;
$custom-light: #a664a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b80",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 298.218,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.17437,
    "h": 326.8
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#7D1B80
secondary
#46B443
accent
#E84045
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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