#7E1679#7E1679

#7E1679 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 330.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1679
RGBrgb(126, 22, 121)
HSLhsl(303, 70%, 29%)
HSVhsv(303, 83%, 49%)
CMYKcmyk(0%, 82.5%, 4%, 50.6%)
CIE-LABlab(30.38, 53.29, -31.15)
CIE-LCHlch(30.38, 61.72, 329.69°)
OKLaboklab(42.3% 0.1513 -0.0861)
OKLCHoklch(42.3% 0.174 330.4)
XYZxyz(12.3422, 6.3909, 18.6690)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1679 #167E1B
analogous
#4F167E #7E1679 #7E1645
triadic
#7E1679 #797E16 #16797E
tetradic
#7E1679 #7E4F16 #167E1B #16457E
square
#7E1679 #7E4F16 #167E1B #16457E
split-complementary
#7E1679 #457E16 #167E4F
monochromatic
#1A0519 #4A0D47 #7E1679 #B21FAB #DB33D3

Accessibility & contrast

On white

9.22
#7E1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1679
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1679#FFFFFF#000000##FFFFFF
##7E16791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#832648
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1679;
/* rgb */ color: rgb(126, 22, 121);
/* oklch */ color: oklch(42.3% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#a762a0',
    500: '#7e1679',
    950: '#000000',
  },
}
SCSS
$custom: #7e1679;
$custom-light: #a762a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1679",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 302.885,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.17405,
    "h": 330.4
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#7E1679
secondary
#3DB343
accent
#ED433B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E1679

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

Preview Lab → · Contrast checker → · Palette generator →

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