#7D2E77#7D2E77

#7D2E77 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.143 H 330.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7D2E77
RGBrgb(125, 46, 119)
HSLhsl(305, 46%, 34%)
HSVhsv(305, 63%, 49%)
CMYKcmyk(0%, 63.2%, 4.8%, 51%)
CIE-LABlab(33.24, 43.82, -25.39)
CIE-LCHlch(33.24, 50.65, 329.92°)
OKLaboklab(44.29% 0.1245 -0.0697)
OKLCHoklch(44.29% 0.143 330.8)
XYZxyz(12.7642, 7.6468, 18.2529)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E77 #2E7D34
analogous
#5B2E7D #7D2E77 #7D2E4F
triadic
#7D2E77 #777D2E #2E777D
tetradic
#7D2E77 #7D5B2E #2E7D34 #2E4F7D
square
#7D2E77 #7D5B2E #2E7D34 #2E4F7D
split-complementary
#7D2E77 #4F7D2E #2E7D5B
monochromatic
#240D22 #501E4C #7D2E77 #AA3EA2 #C561BD

Accessibility & contrast

On white

8.30
#7D2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E77
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E77#FFFFFF#000000##FFFFFF
##7D2E771.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#435275
Tritanopia (blue-blind)
#82364E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2e77;
/* rgb */ color: rgb(125, 46, 119);
/* oklch */ color: oklch(44.3% 0.143 330.8);
Tailwind
colors: {
  custom: {
    50: '#a56c9e',
    500: '#7d2e77',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e77;
$custom-light: #a56c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e77",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 304.557,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.14267,
    "h": 330.8
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#7D2E77
secondary
#5BAB61
accent
#D65C52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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