#7D277A#7D277A

#7D277A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.155 H 329.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7D277A
RGBrgb(125, 39, 122)
HSLhsl(302, 52%, 32%)
HSVhsv(302, 69%, 49%)
CMYKcmyk(0%, 68.8%, 2.4%, 51%)
CIE-LABlab(32.30, 47.42, -28.75)
CIE-LCHlch(32.30, 55.45, 328.77°)
OKLaboklab(43.66% 0.1335 -0.0793)
OKLCHoklch(43.66% 0.155 329.3)
XYZxyz(12.6957, 7.2171, 19.1329)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D277A #277D2A
analogous
#55277D #7D277A #7D274F
triadic
#7D277A #7A7D27 #277A7D
tetradic
#7D277A #7D5527 #277D2A #274F7D
square
#7D277A #7D5527 #277D2A #274F7D
split-complementary
#7D277A #4F7D27 #277D55
monochromatic
#200A1F #4E184C #7D277A #AC36A8 #CA55C6

Accessibility & contrast

On white

8.60
#7D277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D277A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D277A#FFFFFF#000000##FFFFFF
##7D277A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#81324D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d277a;
/* rgb */ color: rgb(125, 39, 122);
/* oklch */ color: oklch(43.7% 0.155 329.3);
Tailwind
colors: {
  custom: {
    50: '#a669a1',
    500: '#7d277a',
    950: '#000000',
  },
}
SCSS
$custom: #7d277a;
$custom-light: #a669a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d277a",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 302.093,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.15531,
    "h": 329.3
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#7D277A
secondary
#51AF55
accent
#DC514C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7D277A

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

Preview Lab → · Contrast checker → · Palette generator →

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