#7D1778#7D1778

#7D1778 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.172 H 330.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7D1778
RGBrgb(125, 23, 120)
HSLhsl(303, 69%, 29%)
HSVhsv(303, 82%, 49%)
CMYKcmyk(0%, 81.6%, 4%, 51%)
CIE-LABlab(30.23, 52.64, -30.76)
CIE-LCHlch(30.23, 60.96, 329.70°)
OKLaboklab(42.14% 0.1494 -0.085)
OKLCHoklch(42.14% 0.172 330.4)
XYZxyz(12.1540, 6.3298, 18.3473)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1778 #177D1C
analogous
#4F177D #7D1778 #7D1745
triadic
#7D1778 #787D17 #17787D
tetradic
#7D1778 #7D4F17 #177D1C #17457D
square
#7D1778 #7D4F17 #177D1C #17457D
split-complementary
#7D1778 #457D17 #177D4F
monochromatic
#1A0519 #490D46 #7D1778 #B121AA #DA35D2

Accessibility & contrast

On white

9.27
#7D1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1778
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1778#FFFFFF#000000##FFFFFF
##7D17781.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E7B
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#822648
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d1778;
/* rgb */ color: rgb(125, 23, 120);
/* oklch */ color: oklch(42.1% 0.172 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6629f',
    500: '#7d1778',
    950: '#000000',
  },
}
SCSS
$custom: #7d1778;
$custom-light: #a6629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1778",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 302.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.17191,
    "h": 330.4
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#7D1778
secondary
#3EB244
accent
#EC453C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1778

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

Preview Lab → · Contrast checker → · Palette generator →

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