#7E1A80#7E1A80

#7E1A80 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.176 H 327.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E1A80
RGBrgb(126, 26, 128)
HSLhsl(299, 66%, 30%)
HSVhsv(299, 80%, 50%)
CMYKcmyk(1.6%, 79.7%, 0%, 49.8%)
CIE-LABlab(31.19, 53.33, -34.26)
CIE-LCHlch(31.19, 63.39, 327.28°)
OKLaboklab(43.02% 0.1478 -0.0952)
OKLCHoklch(43.02% 0.176 327.2)
XYZxyz(12.8697, 6.7339, 21.0398)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A80 #1C801A
analogous
#4B1A80 #7E1A80 #801A4F
triadic
#7E1A80 #807E1A #1A807E
tetradic
#7E1A80 #804B1A #1C801A #1A4F80
square
#7E1A80 #804B1A #1C801A #1A4F80
split-complementary
#7E1A80 #4F801A #1A804B
monochromatic
#1A051A #4C104D #7E1A80 #B024B3 #D53DD8

Accessibility & contrast

On white

8.95
#7E1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A80
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A80#FFFFFF#000000##FFFFFF
##7E1A801.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#364E7E
Tritanopia (blue-blind)
#822C4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1a80;
/* rgb */ color: rgb(126, 26, 128);
/* oklch */ color: oklch(43.0% 0.176 327.2);
Tailwind
colors: {
  custom: {
    50: '#a764a5',
    500: '#7e1a80',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a80;
$custom-light: #a764a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a80",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 298.824,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.17582,
    "h": 327.2
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#7E1A80
secondary
#44B442
accent
#E93F42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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