#7E1676#7E1676

#7E1676 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.172 H 331.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E1676
RGBrgb(126, 22, 118)
HSLhsl(305, 70%, 29%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 82.5%, 6.3%, 50.6%)
CIE-LABlab(30.20, 52.80, -29.52)
CIE-LCHlch(30.20, 60.50, 330.79°)
OKLaboklab(42.12% 0.1513 -0.0814)
OKLCHoklch(42.12% 0.172 331.7)
XYZxyz(12.1611, 6.3185, 17.7151)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1676 #167E1E
analogous
#52167E #7E1676 #7E1642
triadic
#7E1676 #767E16 #16767E
tetradic
#7E1676 #7E5216 #167E1E #16427E
square
#7E1676 #7E5216 #167E1E #16427E
split-complementary
#7E1676 #427E16 #167E52
monochromatic
#1A0518 #4A0D45 #7E1676 #B21FA7 #DB33CE

Accessibility & contrast

On white

9.28
#7E1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1676
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1676#FFFFFF#000000##FFFFFF
##7E16761.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3E78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#842446
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1676;
/* rgb */ color: rgb(126, 22, 118);
/* oklch */ color: oklch(42.1% 0.172 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7629e',
    500: '#7e1676',
    950: '#000000',
  },
}
SCSS
$custom: #7e1676;
$custom-light: #a7629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1676",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 304.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.17179,
    "h": 331.7
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#7E1676
secondary
#3DB346
accent
#ED483B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1676

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

Preview Lab → · Contrast checker → · Palette generator →

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