#7A1876#7A1876

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

Color values

HEX#7A1876
RGBrgb(122, 24, 118)
HSLhsl(302, 67%, 29%)
HSVhsv(302, 80%, 48%)
CMYKcmyk(0%, 80.3%, 3.3%, 52.2%)
CIE-LABlab(29.66, 51.35, -30.43)
CIE-LCHlch(29.66, 59.69, 329.35°)
OKLaboklab(41.6% 0.1453 -0.0841)
OKLCHoklch(41.6% 0.168 329.9)
XYZxyz(11.6226, 6.0998, 17.7013)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1876 #187A1C
analogous
#4D187A #7A1876 #7A1845
triadic
#7A1876 #767A18 #18767A
tetradic
#7A1876 #7A4D18 #187A1C #18457A
square
#7A1876 #7A4D18 #187A1C #18457A
split-complementary
#7A1876 #457A18 #187A4D
monochromatic
#1A0519 #470E45 #7A1876 #AD22A7 #D735D1

Accessibility & contrast

On white

9.46
#7A1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1876
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1876#FFFFFF#000000##FFFFFF
##7A18761.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E78
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#7F2747
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1876;
/* rgb */ color: rgb(122, 24, 118);
/* oklch */ color: oklch(41.6% 0.168 329.9);
Tailwind
colors: {
  custom: {
    50: '#a4629e',
    500: '#7a1876',
    950: '#000000',
  },
}
SCSS
$custom: #7a1876;
$custom-light: #a4629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1876",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 302.449,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.16792,
    "h": 329.9
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#7A1876
secondary
#3FAF44
accent
#EA453E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1876

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

Preview Lab → · Contrast checker → · Palette generator →

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