#7D1678#7D1678

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

Color values

HEX#7D1678
RGBrgb(125, 22, 120)
HSLhsl(303, 70%, 29%)
HSVhsv(303, 82%, 49%)
CMYKcmyk(0%, 82.4%, 4%, 51%)
CIE-LABlab(30.13, 52.91, -30.91)
CIE-LCHlch(30.13, 61.28, 329.71°)
OKLaboklab(42.07% 0.1502 -0.0854)
OKLCHoklch(42.07% 0.173 330.4)
XYZxyz(12.1345, 6.2908, 18.3408)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1678 #167D1B
analogous
#4F167D #7D1678 #7D1645
triadic
#7D1678 #787D16 #16787D
tetradic
#7D1678 #7D4F16 #167D1B #16457D
square
#7D1678 #7D4F16 #167D1B #16457D
split-complementary
#7D1678 #457D16 #167D4F
monochromatic
#1A0519 #490D46 #7D1678 #B11FAA #DB32D3

Accessibility & contrast

On white

9.30
#7D1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1678
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1678#FFFFFF#000000##FFFFFF
##7D16781.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1678;
/* rgb */ color: rgb(125, 22, 120);
/* oklch */ color: oklch(42.1% 0.173 330.4);
Tailwind
colors: {
  custom: {
    50: '#a6629f',
    500: '#7d1678',
    950: '#000000',
  },
}
SCSS
$custom: #7d1678;
$custom-light: #a6629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1678",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 302.913,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.1728,
    "h": 330.4
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#7D1678
secondary
#3DB243
accent
#ED443B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1678

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

Preview Lab → · Contrast checker → · Palette generator →

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