#7B1676#7B1676

#7B1676 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 330.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7B1676
RGBrgb(123, 22, 118)
HSLhsl(303, 70%, 28%)
HSVhsv(303, 82%, 48%)
CMYKcmyk(0%, 82.1%, 4.1%, 51.8%)
CIE-LABlab(29.65, 52.15, -30.44)
CIE-LCHlch(29.65, 60.38, 329.73°)
OKLaboklab(41.62% 0.1481 -0.0841)
OKLCHoklch(41.62% 0.17 330.4)
XYZxyz(11.7253, 6.0937, 17.6947)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1676 #167B1B
analogous
#4D167B #7B1676 #7B1643
triadic
#7B1676 #767B16 #16767B
tetradic
#7B1676 #7B4D16 #167B1B #16437B
square
#7B1676 #7B4D16 #167B1B #16437B
split-complementary
#7B1676 #437B16 #167B4D
monochromatic
#1A0519 #470D44 #7B1676 #AF1FA8 #DA31D2

Accessibility & contrast

On white

9.47
#7B1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7B1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1676
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1676#FFFFFF#000000##FFFFFF
##7B16761.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#802546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1676;
/* rgb */ color: rgb(123, 22, 118);
/* oklch */ color: oklch(41.6% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#a5619e',
    500: '#7b1676',
    950: '#000000',
  },
}
SCSS
$custom: #7b1676;
$custom-light: #a5619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1676",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 302.97,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41619,
    "c": 0.17029,
    "h": 330.4
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7B1676
secondary
#3DB042
accent
#EC443B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1676

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

Preview Lab → · Contrast checker → · Palette generator →

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