#7E1677#7E1677

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

Color values

HEX#7E1677
RGBrgb(126, 22, 119)
HSLhsl(304, 70%, 29%)
HSVhsv(304, 83%, 49%)
CMYKcmyk(0%, 82.5%, 5.6%, 50.6%)
CIE-LABlab(30.26, 52.96, -30.07)
CIE-LCHlch(30.26, 60.90, 330.42°)
OKLaboklab(42.18% 0.1513 -0.083)
OKLCHoklch(42.18% 0.173 331.3)
XYZxyz(12.2209, 6.3424, 18.0297)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1677 #167E1D
analogous
#51167E #7E1677 #7E1643
triadic
#7E1677 #777E16 #16777E
tetradic
#7E1677 #7E5116 #167E1D #16437E
square
#7E1677 #7E5116 #167E1D #16437E
split-complementary
#7E1677 #437E16 #167E51
monochromatic
#1A0519 #4A0D46 #7E1677 #B21FA8 #DB33D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1677#FFFFFF#000000##FFFFFF
##7E16771.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)
#083E79
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#832547
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1677;
/* rgb */ color: rgb(126, 22, 119);
/* oklch */ color: oklch(42.2% 0.173 331.3);
Tailwind
colors: {
  custom: {
    50: '#a7629e',
    500: '#7e1677',
    950: '#000000',
  },
}
SCSS
$custom: #7e1677;
$custom-light: #a7629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1677",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 304.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.17254,
    "h": 331.3
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#7E1677
secondary
#3DB345
accent
#ED473B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1677

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

Preview Lab → · Contrast checker → · Palette generator →

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