#7E1473#7E1473

#7E1473 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 333.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1473
RGBrgb(126, 20, 115)
HSLhsl(306, 73%, 29%)
HSVhsv(306, 84%, 49%)
CMYKcmyk(0%, 84.1%, 8.7%, 50.6%)
CIE-LABlab(29.85, 52.85, -28.18)
CIE-LCHlch(29.85, 59.89, 331.94°)
OKLaboklab(41.81% 0.1528 -0.0775)
OKLCHoklch(41.81% 0.171 333.1)
XYZxyz(11.9489, 6.1748, 16.7789)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1473 #147E1F
analogous
#54147E #7E1473 #7E143E
triadic
#7E1473 #737E14 #14737E
tetradic
#7E1473 #7E5414 #147E1F #143E7E
square
#7E1473 #7E5414 #147E1F #143E7E
split-complementary
#7E1473 #3E7E14 #147E54
monochromatic
#1A0418 #490C43 #7E1473 #B31CA3 #DE2ECC

Accessibility & contrast

On white

9.40
#7E1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1473
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1473#FFFFFF#000000##FFFFFF
##7E14731.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#842144
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1473;
/* rgb */ color: rgb(126, 20, 115);
/* oklch */ color: oklch(41.8% 0.171 333.1);
Tailwind
colors: {
  custom: {
    50: '#a7619b',
    500: '#7e1473',
    950: '#000000',
  },
}
SCSS
$custom: #7e1473;
$custom-light: #a7619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1473",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 306.226,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.1713,
    "h": 333.1
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#7E1473
secondary
#3AB347
accent
#EF4B38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1473

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

Preview Lab → · Contrast checker → · Palette generator →

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