#7D2B77#7D2B77

#7D2B77 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 330.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2B77
RGBrgb(125, 43, 119)
HSLhsl(304, 49%, 33%)
HSVhsv(304, 66%, 49%)
CMYKcmyk(0%, 65.6%, 4.8%, 51%)
CIE-LABlab(32.75, 45.18, -26.16)
CIE-LCHlch(32.75, 52.20, 329.93°)
OKLaboklab(43.93% 0.1284 -0.0718)
OKLCHoklch(43.93% 0.147 330.8)
XYZxyz(12.6510, 7.4206, 18.2152)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B77 #2B7D31
analogous
#5A2B7D #7D2B77 #7D2B4E
triadic
#7D2B77 #777D2B #2B777D
tetradic
#7D2B77 #7D5A2B #2B7D31 #2B4E7D
square
#7D2B77 #7D5A2B #2B7D31 #2B4E7D
split-complementary
#7D2B77 #4E7D2B #2B7D5A
monochromatic
#220C20 #4F1B4C #7D2B77 #AB3BA2 #C75CBF

Accessibility & contrast

On white

8.45
#7D2B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D2B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B77
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B77#FFFFFF#000000##FFFFFF
##7D2B771.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254679
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#82334D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2b77;
/* rgb */ color: rgb(125, 43, 119);
/* oklch */ color: oklch(43.9% 0.147 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56b9e',
    500: '#7d2b77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b77;
$custom-light: #a56b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b77",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 304.39,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.14714,
    "h": 330.8
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#7D2B77
secondary
#57AD5D
accent
#D8594F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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