#7B1678#7B1678

#7B1678 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.172 H 329.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B1678
RGBrgb(123, 22, 120)
HSLhsl(302, 70%, 28%)
HSVhsv(302, 82%, 48%)
CMYKcmyk(0%, 82.1%, 2.4%, 51.8%)
CIE-LABlab(29.77, 52.48, -31.52)
CIE-LCHlch(29.77, 61.21, 329.01°)
OKLaboklab(41.74% 0.148 -0.0872)
OKLCHoklch(41.74% 0.172 329.5)
XYZxyz(11.8454, 6.1418, 18.3273)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1678 #167B19
analogous
#4B167B #7B1678 #7B1645
triadic
#7B1678 #787B16 #16787B
tetradic
#7B1678 #7B4B16 #167B19 #16457B
square
#7B1678 #7B4B16 #167B19 #16457B
split-complementary
#7B1678 #457B16 #167B4B
monochromatic
#1A0519 #470D45 #7B1678 #AF1FAB #DA31D5

Accessibility & contrast

On white

9.42
#7B1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1678
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1678#FFFFFF#000000##FFFFFF
##7B16781.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#802647
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1678;
/* rgb */ color: rgb(123, 22, 120);
/* oklch */ color: oklch(41.7% 0.172 329.5);
Tailwind
colors: {
  custom: {
    50: '#a5629f',
    500: '#7b1678',
    950: '#000000',
  },
}
SCSS
$custom: #7b1678;
$custom-light: #a5629f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1678",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 301.782,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.17182,
    "h": 329.5
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#7B1678
secondary
#3DB040
accent
#EC413B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1678

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

Preview Lab → · Contrast checker → · Palette generator →

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