#7D277E#7D277E

#7D277E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.159 H 327.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7D277E
RGBrgb(125, 39, 126)
HSLhsl(299, 53%, 32%)
HSVhsv(299, 69%, 49%)
CMYKcmyk(0.8%, 69%, 0%, 50.6%)
CIE-LABlab(32.52, 48.14, -30.91)
CIE-LCHlch(32.52, 57.20, 327.30°)
OKLaboklab(43.9% 0.1337 -0.0855)
OKLCHoklch(43.9% 0.159 327.4)
XYZxyz(12.9487, 7.3182, 20.4652)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D277E #287E27
analogous
#51277E #7D277E #7E2754
triadic
#7D277E #7E7D27 #277E7D
tetradic
#7D277E #7E5127 #287E27 #27547E
square
#7D277E #7E5127 #287E27 #27547E
split-complementary
#7D277E #547E27 #277E51
monochromatic
#200A21 #4F194F #7D277E #AB35AD #C955CA

Accessibility & contrast

On white

8.52
#7D277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D277E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D277E#FFFFFF#000000##FFFFFF
##7D277E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194581
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#81334F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d277e;
/* rgb */ color: rgb(125, 39, 126);
/* oklch */ color: oklch(43.9% 0.159 327.4);
Tailwind
colors: {
  custom: {
    50: '#a669a4',
    500: '#7d277e',
    950: '#000000',
  },
}
SCSS
$custom: #7d277e;
$custom-light: #a669a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d277e",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 299.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43895,
    "c": 0.15874,
    "h": 327.4
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#7D277E
secondary
#53AF52
accent
#DC4C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D277E

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

Preview Lab → · Contrast checker → · Palette generator →

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