#7D2774#7D2774

#7D2774 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.150 H 332.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7D2774
RGBrgb(125, 39, 116)
HSLhsl(306, 52%, 32%)
HSVhsv(306, 69%, 49%)
CMYKcmyk(0%, 68.8%, 7.2%, 51%)
CIE-LABlab(31.97, 46.37, -25.48)
CIE-LCHlch(31.97, 52.91, 331.21°)
OKLaboklab(43.32% 0.1331 -0.0699)
OKLCHoklch(43.32% 0.15 332.3)
XYZxyz(12.3354, 7.0729, 17.2351)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2774 #277D30
analogous
#5B277D #7D2774 #7D2749
triadic
#7D2774 #747D27 #27747D
tetradic
#7D2774 #7D5B27 #277D30 #27497D
square
#7D2774 #7D5B27 #277D30 #27497D
split-complementary
#7D2774 #497D27 #277D5B
monochromatic
#200A1D #4E1849 #7D2774 #AC369F #CA55BE

Accessibility & contrast

On white

8.70
#7D2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2774
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2774#FFFFFF#000000##FFFFFF
##7D27741.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#415072
Tritanopia (blue-blind)
#822F4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2774;
/* rgb */ color: rgb(125, 39, 116);
/* oklch */ color: oklch(43.3% 0.150 332.3);
Tailwind
colors: {
  custom: {
    50: '#a5699c',
    500: '#7d2774',
    950: '#000000',
  },
}
SCSS
$custom: #7d2774;
$custom-light: #a5699c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2774",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 306.279,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.15029,
    "h": 332.3
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#7D2774
secondary
#51AF5B
accent
#DC5B4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2774

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

Preview Lab → · Contrast checker → · Palette generator →

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