#7E1480#7E1480

#7E1480 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.181 H 327.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1480
RGBrgb(126, 20, 128)
HSLhsl(299, 73%, 29%)
HSVhsv(299, 84%, 50%)
CMYKcmyk(1.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(30.63, 54.97, -35.16)
CIE-LCHlch(30.63, 65.25, 327.40°)
OKLaboklab(42.62% 0.1524 -0.0977)
OKLCHoklch(42.62% 0.181 327.3)
XYZxyz(12.7504, 6.4954, 21.0001)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1480 #168014
analogous
#481480 #7E1480 #80144C
triadic
#7E1480 #807E14 #14807E
tetradic
#7E1480 #804814 #168014 #144C80
square
#7E1480 #804814 #168014 #144C80
split-complementary
#7E1480 #4C8014 #148048
monochromatic
#1A041A #4A0C4B #7E1480 #B21CB5 #DB30DF

Accessibility & contrast

On white

9.14
#7E1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1480
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1480#FFFFFF#000000##FFFFFF
##7E14801.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#334D7E
Tritanopia (blue-blind)
#82294C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1480;
/* rgb */ color: rgb(126, 20, 128);
/* oklch */ color: oklch(42.6% 0.181 327.3);
Tailwind
colors: {
  custom: {
    50: '#a762a5',
    500: '#7e1480',
    950: '#000000',
  },
}
SCSS
$custom: #7e1480;
$custom-light: #a762a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1480",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 298.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.18108,
    "h": 327.3
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#7E1480
secondary
#3DB53B
accent
#F0383C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1480

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

Preview Lab → · Contrast checker → · Palette generator →

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