#7E1474#7E1474

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

Color values

HEX#7E1474
RGBrgb(126, 20, 116)
HSLhsl(306, 73%, 29%)
HSVhsv(306, 84%, 49%)
CMYKcmyk(0%, 84.1%, 7.9%, 50.6%)
CIE-LABlab(29.91, 53.01, -28.72)
CIE-LCHlch(29.91, 60.29, 331.55°)
OKLaboklab(41.87% 0.1528 -0.079)
OKLCHoklch(41.87% 0.172 332.6)
XYZxyz(12.0068, 6.1979, 17.0836)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1474 #147E1E
analogous
#53147E #7E1474 #7E143F
triadic
#7E1474 #747E14 #14747E
tetradic
#7E1474 #7E5314 #147E1E #143F7E
square
#7E1474 #7E5314 #147E1E #143F7E
split-complementary
#7E1474 #3F7E14 #147E53
monochromatic
#1A0418 #490C43 #7E1474 #B31CA5 #DE2ECD

Accessibility & contrast

On white

9.38
#7E1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1474
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1474#FFFFFF#000000##FFFFFF
##7E14741.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#3A4C72
Tritanopia (blue-blind)
#842245
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1474;
/* rgb */ color: rgb(126, 20, 116);
/* oklch */ color: oklch(41.9% 0.172 332.6);
Tailwind
colors: {
  custom: {
    50: '#a7619c',
    500: '#7e1474',
    950: '#000000',
  },
}
SCSS
$custom: #7e1474;
$custom-light: #a7619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1474",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 305.66,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.17203,
    "h": 332.6
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#7E1474
secondary
#3AB346
accent
#EF4A38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1474

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

Preview Lab → · Contrast checker → · Palette generator →

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