#7E1376#7E1376

#7E1376 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 331.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1376
RGBrgb(126, 19, 118)
HSLhsl(304, 74%, 28%)
HSVhsv(304, 85%, 49%)
CMYKcmyk(0%, 84.9%, 6.3%, 50.6%)
CIE-LABlab(29.94, 53.57, -29.94)
CIE-LCHlch(29.94, 61.37, 330.80°)
OKLaboklab(41.93% 0.1535 -0.0826)
OKLCHoklch(41.93% 0.174 331.7)
XYZxyz(12.1071, 6.2104, 17.6971)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1376 #137E1B
analogous
#50137E #7E1376 #7E1340
triadic
#7E1376 #767E13 #13767E
tetradic
#7E1376 #7E5013 #137E1B #13407E
square
#7E1376 #7E5013 #137E1B #13407E
split-complementary
#7E1376 #407E13 #137E50
monochromatic
#1B0419 #490B44 #7E1376 #B31BA8 #DF2CD2

Accessibility & contrast

On white

9.37
#7E1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1376
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1376#FFFFFF#000000##FFFFFF
##7E13761.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053D78
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#842346
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1376;
/* rgb */ color: rgb(126, 19, 118);
/* oklch */ color: oklch(41.9% 0.174 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7619e',
    500: '#7e1376',
    950: '#000000',
  },
}
SCSS
$custom: #7e1376;
$custom-light: #a7619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1376",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 304.486,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.17432,
    "h": 331.7
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#7E1376
secondary
#39B442
accent
#F04537
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1376

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

Preview Lab → · Contrast checker → · Palette generator →

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