#7D2773#7D2773

#7D2773 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.149 H 332.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7D2773
RGBrgb(125, 39, 115)
HSLhsl(307, 52%, 32%)
HSVhsv(307, 69%, 49%)
CMYKcmyk(0%, 68.8%, 8%, 51%)
CIE-LABlab(31.92, 46.20, -24.93)
CIE-LCHlch(31.92, 52.50, 331.65°)
OKLaboklab(43.27% 0.133 -0.0683)
OKLCHoklch(43.27% 0.149 332.8)
XYZxyz(12.2775, 7.0498, 16.9304)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2773 #277D31
analogous
#5C277D #7D2773 #7D2748
triadic
#7D2773 #737D27 #27737D
tetradic
#7D2773 #7D5C27 #277D31 #27487D
square
#7D2773 #7D5C27 #277D31 #27487D
split-complementary
#7D2773 #487D27 #277D5C
monochromatic
#200A1D #4E1848 #7D2773 #AC369E #CA55BC

Accessibility & contrast

On white

8.71
#7D2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2773
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2773#FFFFFF#000000##FFFFFF
##7D27731.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#832F49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2773;
/* rgb */ color: rgb(125, 39, 115);
/* oklch */ color: oklch(43.3% 0.149 332.8);
Tailwind
colors: {
  custom: {
    50: '#a5699b',
    500: '#7d2773',
    950: '#000000',
  },
}
SCSS
$custom: #7d2773;
$custom-light: #a5699b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2773",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 306.977,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.14948,
    "h": 332.8
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#7D2773
secondary
#51AF5C
accent
#DC5D4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2773

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

Preview Lab → · Contrast checker → · Palette generator →

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