#7E1380#7E1380

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

Color values

HEX#7E1380
RGBrgb(126, 19, 128)
HSLhsl(299, 74%, 29%)
HSVhsv(299, 85%, 50%)
CMYKcmyk(1.6%, 85.2%, 0%, 49.8%)
CIE-LABlab(30.55, 55.21, -35.29)
CIE-LCHlch(30.55, 65.52, 327.41°)
OKLaboklab(42.56% 0.1531 -0.0981)
OKLCHoklch(42.56% 0.182 327.3)
XYZxyz(12.7332, 6.4608, 20.9943)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1380 #158013
analogous
#481380 #7E1380 #80134C
triadic
#7E1380 #807E13 #13807E
tetradic
#7E1380 #804813 #158013 #134C80
square
#7E1380 #804813 #158013 #134C80
split-complementary
#7E1380 #4C8013 #138048
monochromatic
#1A041B #4A0B4B #7E1380 #B21BB5 #DD2DE0

Accessibility & contrast

On white

9.16
#7E1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1380
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1380#FFFFFF#000000##FFFFFF
##7E13801.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#334C7E
Tritanopia (blue-blind)
#82284B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1380;
/* rgb */ color: rgb(126, 19, 128);
/* oklch */ color: oklch(42.6% 0.182 327.3);
Tailwind
colors: {
  custom: {
    50: '#a762a5',
    500: '#7e1380',
    950: '#000000',
  },
}
SCSS
$custom: #7e1380;
$custom-light: #a762a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1380",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 298.899,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42558,
    "c": 0.18185,
    "h": 327.3
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#7E1380
secondary
#3CB539
accent
#F1373A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1380

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

Preview Lab → · Contrast checker → · Palette generator →

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