#7D277C#7D277C

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

Color values

HEX#7D277C
RGBrgb(125, 39, 124)
HSLhsl(301, 52%, 32%)
HSVhsv(301, 69%, 49%)
CMYKcmyk(0%, 68.8%, 0.8%, 51%)
CIE-LABlab(32.41, 47.77, -29.83)
CIE-LCHlch(32.41, 56.32, 328.02°)
OKLaboklab(43.78% 0.1336 -0.0824)
OKLCHoklch(43.78% 0.157 328.3)
XYZxyz(12.8209, 7.2671, 19.7923)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D277C #277D28
analogous
#53277D #7D277C #7D2751
triadic
#7D277C #7C7D27 #277C7D
tetradic
#7D277C #7D5327 #277D28 #27517D
square
#7D277C #7D5327 #277D28 #27517D
split-complementary
#7D277C #517D27 #277D53
monochromatic
#200A1F #4E184E #7D277C #AC36AA #CA55C8

Accessibility & contrast

On white

8.56
#7D277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D277C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D277C#FFFFFF#000000##FFFFFF
##7D277C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#81334E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d277c;
/* rgb */ color: rgb(125, 39, 124);
/* oklch */ color: oklch(43.8% 0.157 328.3);
Tailwind
colors: {
  custom: {
    50: '#a669a2',
    500: '#7d277c',
    950: '#000000',
  },
}
SCSS
$custom: #7d277c;
$custom-light: #a669a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d277c",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 300.698,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.15702,
    "h": 328.3
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#7D277C
secondary
#51AF52
accent
#DC4E4C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D277C

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

Preview Lab → · Contrast checker → · Palette generator →

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