#7E1378#7E1378

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

Color values

HEX#7E1378
RGBrgb(126, 19, 120)
HSLhsl(303, 74%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 84.9%, 4.8%, 50.6%)
CIE-LABlab(30.06, 53.89, -31.03)
CIE-LCHlch(30.06, 62.18, 330.07°)
OKLaboklab(42.05% 0.1535 -0.0857)
OKLCHoklch(42.05% 0.176 330.8)
XYZxyz(12.2272, 6.2585, 18.3297)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1378 #137E19
analogous
#4E137E #7E1378 #7E1343
triadic
#7E1378 #787E13 #13787E
tetradic
#7E1378 #7E4E13 #137E19 #13437E
square
#7E1378 #7E4E13 #137E19 #13437E
split-complementary
#7E1378 #437E13 #137E4E
monochromatic
#1B0419 #490B45 #7E1378 #B31BAB #DF2CD5

Accessibility & contrast

On white

9.33
#7E1378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1378
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1378#FFFFFF#000000##FFFFFF
##7E13781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7B
Deuteranopia (green-blind)
#384C76
Tritanopia (blue-blind)
#832447
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1378;
/* rgb */ color: rgb(126, 19, 120);
/* oklch */ color: oklch(42.1% 0.176 330.8);
Tailwind
colors: {
  custom: {
    50: '#a7619f',
    500: '#7e1378',
    950: '#000000',
  },
}
SCSS
$custom: #7e1378;
$custom-light: #a7619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1378",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 120
  },
  "hsl": {
    "h": 303.364,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.1758,
    "h": 330.8
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#7E1378
secondary
#39B440
accent
#F04237
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1378

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

Preview Lab → · Contrast checker → · Palette generator →

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