#7E1471#7E1471

#7E1471 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.170 H 334.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7E1471
RGBrgb(126, 20, 113)
HSLhsl(307, 73%, 29%)
HSVhsv(307, 84%, 49%)
CMYKcmyk(0%, 84.1%, 10.3%, 50.6%)
CIE-LABlab(29.74, 52.54, -27.08)
CIE-LCHlch(29.74, 59.11, 332.73°)
OKLaboklab(41.69% 0.1527 -0.0743)
OKLCHoklch(41.69% 0.17 334.1)
XYZxyz(11.8351, 6.1293, 16.1793)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1471 #147E21
analogous
#56147E #7E1471 #7E143C
triadic
#7E1471 #717E14 #14717E
tetradic
#7E1471 #7E5614 #147E21 #143C7E
square
#7E1471 #7E5614 #147E21 #143C7E
split-complementary
#7E1471 #3C7E14 #147E56
monochromatic
#1A0418 #490C42 #7E1471 #B31CA0 #DE2EC8

Accessibility & contrast

On white

9.44
#7E1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1471
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1471#FFFFFF#000000##FFFFFF
##7E14711.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#842043
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1471;
/* rgb */ color: rgb(126, 20, 113);
/* oklch */ color: oklch(41.7% 0.170 334.1);
Tailwind
colors: {
  custom: {
    50: '#a7619a',
    500: '#7e1471',
    950: '#000000',
  },
}
SCSS
$custom: #7e1471;
$custom-light: #a7619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1471",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 307.358,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.16984,
    "h": 334.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#7E1471
secondary
#3AB349
accent
#EF4F38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1471

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

Preview Lab → · Contrast checker → · Palette generator →

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