#7E1390#7E1390

#7E1390 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.194 H 321.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7E1390
RGBrgb(126, 19, 144)
HSLhsl(291, 77%, 32%)
HSVhsv(291, 87%, 56%)
CMYKcmyk(12.5%, 86.8%, 0%, 43.5%)
CIE-LABlab(31.61, 58.01, -43.53)
CIE-LCHlch(31.61, 72.53, 323.11°)
OKLaboklab(43.65% 0.1512 -0.1222)
OKLCHoklch(43.65% 0.194 321)
XYZxyz(13.8705, 6.9158, 26.9844)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1390 #259013
analogous
#401390 #7E1390 #901364
triadic
#7E1390 #907E13 #13907E
tetradic
#7E1390 #904013 #259013 #136490
square
#7E1390 #904013 #259013 #136490
split-complementary
#7E1390 #649013 #139040
monochromatic
#1F0524 #4F0C5A #7E1390 #AD1AC6 #CC39E5

Accessibility & contrast

On white

8.81
#7E1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1390
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1390#FFFFFF#000000##FFFFFF
##7E13901.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#7F3155
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e1390;
/* rgb */ color: rgb(126, 19, 144);
/* oklch */ color: oklch(43.6% 0.194 321.0);
Tailwind
colors: {
  custom: {
    50: '#a862b1',
    500: '#7e1390',
    950: '#000000',
  },
}
SCSS
$custom: #7e1390;
$custom-light: #a862b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1390",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 291.36,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4365,
    "c": 0.19439,
    "h": 321
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#7E1390
secondary
#4FC43B
accent
#F33550
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1390

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

Preview Lab → · Contrast checker → · Palette generator →

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