#7D2A77#7D2A77

#7D2A77 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.149 H 330.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7D2A77
RGBrgb(125, 42, 119)
HSLhsl(304, 50%, 33%)
HSVhsv(304, 66%, 49%)
CMYKcmyk(0%, 66.4%, 4.8%, 51%)
CIE-LABlab(32.59, 45.62, -26.41)
CIE-LCHlch(32.59, 52.71, 329.94°)
OKLaboklab(43.82% 0.1297 -0.0726)
OKLCHoklch(43.82% 0.149 330.8)
XYZxyz(12.6151, 7.3487, 18.2032)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A77 #2A7D30
analogous
#592A7D #7D2A77 #7D2A4E
triadic
#7D2A77 #777D2A #2A777D
tetradic
#7D2A77 #7D592A #2A7D30 #2A4E7D
square
#7D2A77 #7D592A #2A7D30 #2A4E7D
split-complementary
#7D2A77 #4E7D2A #2A7D59
monochromatic
#210B20 #4F1B4B #7D2A77 #AB39A3 #C85AC0

Accessibility & contrast

On white

8.50
#7D2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A77
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A77#FFFFFF#000000##FFFFFF
##7D2A771.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#82334C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2a77;
/* rgb */ color: rgb(125, 42, 119);
/* oklch */ color: oklch(43.8% 0.149 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56a9e',
    500: '#7d2a77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a77;
$custom-light: #a56a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a77",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 304.337,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43819,
    "c": 0.14859,
    "h": 330.8
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#7D2A77
secondary
#56AD5C
accent
#D9594F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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