#7E1377#7E1377

#7E1377 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.175 H 331.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1377
RGBrgb(126, 19, 119)
HSLhsl(304, 74%, 28%)
HSVhsv(304, 85%, 49%)
CMYKcmyk(0%, 84.9%, 5.6%, 50.6%)
CIE-LABlab(30.00, 53.73, -30.49)
CIE-LCHlch(30.00, 61.78, 330.43°)
OKLaboklab(41.99% 0.1535 -0.0841)
OKLCHoklch(41.99% 0.175 331.3)
XYZxyz(12.1668, 6.2343, 18.0117)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1377 #137E1A
analogous
#4F137E #7E1377 #7E1341
triadic
#7E1377 #777E13 #13777E
tetradic
#7E1377 #7E4F13 #137E1A #13417E
square
#7E1377 #7E4F13 #137E1A #13417E
split-complementary
#7E1377 #417E13 #137E4F
monochromatic
#1B0419 #490B45 #7E1377 #B31BA9 #DF2CD3

Accessibility & contrast

On white

9.35
#7E1377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1377
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1377#FFFFFF#000000##FFFFFF
##7E13771.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D7A
Deuteranopia (green-blind)
#384C75
Tritanopia (blue-blind)
#832346
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1377;
/* rgb */ color: rgb(126, 19, 119);
/* oklch */ color: oklch(42.0% 0.175 331.3);
Tailwind
colors: {
  custom: {
    50: '#a7619e',
    500: '#7e1377',
    950: '#000000',
  },
}
SCSS
$custom: #7e1377;
$custom-light: #a7619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1377",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 303.925,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.17506,
    "h": 331.3
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#7E1377
secondary
#39B441
accent
#F04337
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1377

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

Preview Lab → · Contrast checker → · Palette generator →

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