#7E1374#7E1374

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

Color values

HEX#7E1374
RGBrgb(126, 19, 116)
HSLhsl(306, 74%, 28%)
HSVhsv(306, 85%, 49%)
CMYKcmyk(0%, 84.9%, 7.9%, 50.6%)
CIE-LABlab(29.82, 53.26, -28.86)
CIE-LCHlch(29.82, 60.57, 331.55°)
OKLaboklab(41.81% 0.1535 -0.0794)
OKLCHoklch(41.81% 0.173 332.6)
XYZxyz(11.9895, 6.1634, 17.0778)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1374 #137E1D
analogous
#52137E #7E1374 #7E133F
triadic
#7E1374 #747E13 #13747E
tetradic
#7E1374 #7E5213 #137E1D #133F7E
square
#7E1374 #7E5213 #137E1D #133F7E
split-complementary
#7E1374 #3F7E13 #137E52
monochromatic
#1B0418 #490B43 #7E1374 #B31BA5 #DF2CCE

Accessibility & contrast

On white

9.41
#7E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1374
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1374#FFFFFF#000000##FFFFFF
##7E13741.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#3A4B72
Tritanopia (blue-blind)
#842144
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1374;
/* rgb */ color: rgb(126, 19, 116);
/* oklch */ color: oklch(41.8% 0.173 332.6);
Tailwind
colors: {
  custom: {
    50: '#a7619c',
    500: '#7e1374',
    950: '#000000',
  },
}
SCSS
$custom: #7e1374;
$custom-light: #a7619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1374",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 305.607,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.17285,
    "h": 332.6
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#7E1374
secondary
#39B445
accent
#F04937
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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