#7A1678#7A1678

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

Color values

HEX#7A1678
RGBrgb(122, 22, 120)
HSLhsl(301, 69%, 28%)
HSVhsv(301, 82%, 48%)
CMYKcmyk(0%, 82%, 1.6%, 52.2%)
CIE-LABlab(29.58, 52.26, -31.82)
CIE-LCHlch(29.58, 61.19, 328.66°)
OKLaboklab(41.58% 0.1469 -0.0882)
OKLCHoklch(41.58% 0.171 329)
XYZxyz(11.7030, 6.0684, 18.3206)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1678 #167A18
analogous
#4A167A #7A1678 #7A1646
triadic
#7A1678 #787A16 #16787A
tetradic
#7A1678 #7A4A16 #167A18 #16467A
square
#7A1678 #7A4A16 #167A18 #16467A
split-complementary
#7A1678 #467A16 #167A4A
monochromatic
#1A0519 #460D45 #7A1678 #AE1FAB #DA31D6

Accessibility & contrast

On white

9.49
#7A1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1678
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1678#FFFFFF#000000##FFFFFF
##7A16781.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#7E2747
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1678;
/* rgb */ color: rgb(122, 22, 120);
/* oklch */ color: oklch(41.6% 0.171 329.0);
Tailwind
colors: {
  custom: {
    50: '#a4619f',
    500: '#7a1678',
    950: '#000000',
  },
}
SCSS
$custom: #7a1678;
$custom-light: #a4619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1678",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 301.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.17134,
    "h": 329
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#7A1678
secondary
#3DAF3F
accent
#EC3F3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1678

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

Preview Lab → · Contrast checker → · Palette generator →

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