#7B1680#7B1680

#7B1680 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.178 H 326.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7B1680
RGBrgb(123, 22, 128)
HSLhsl(297, 71%, 29%)
HSVhsv(297, 83%, 50%)
CMYKcmyk(3.9%, 82.8%, 0%, 49.8%)
CIE-LABlab(30.26, 53.84, -35.77)
CIE-LCHlch(30.26, 64.64, 326.40°)
OKLaboklab(42.26% 0.1476 -0.0996)
OKLCHoklch(42.26% 0.178 326)
XYZxyz(12.3513, 6.3442, 20.9919)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1680 #1B8016
analogous
#461680 #7B1680 #801650
triadic
#7B1680 #807B16 #16807B
tetradic
#7B1680 #804616 #1B8016 #165080
square
#7B1680 #804616 #1B8016 #165080
split-complementary
#7B1680 #508016 #168046
monochromatic
#19041A #490D4C #7B1680 #AD1FB4 #D434DC

Accessibility & contrast

On white

9.26
#7B1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1680
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1680#FFFFFF#000000##FFFFFF
##7B16801.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#7E2B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b1680;
/* rgb */ color: rgb(123, 22, 128);
/* oklch */ color: oklch(42.3% 0.178 326.0);
Tailwind
colors: {
  custom: {
    50: '#a562a5',
    500: '#7b1680',
    950: '#000000',
  },
}
SCSS
$custom: #7b1680;
$custom-light: #a562a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1680",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 297.17,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.17809,
    "h": 326
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#7B1680
secondary
#43B53D
accent
#ED3A43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B1680

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

Preview Lab → · Contrast checker → · Palette generator →

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