#7E1590#7E1590

#7E1590 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.193 H 321.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1590
RGBrgb(126, 21, 144)
HSLhsl(291, 75%, 32%)
HSVhsv(291, 85%, 56%)
CMYKcmyk(12.5%, 85.4%, 0%, 43.5%)
CIE-LABlab(31.78, 57.53, -43.27)
CIE-LCHlch(31.78, 71.99, 323.05°)
OKLaboklab(43.76% 0.1499 -0.1215)
OKLCHoklch(43.76% 0.193 321)
XYZxyz(13.9058, 6.9864, 26.9962)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1590 #279015
analogous
#411590 #7E1590 #901564
triadic
#7E1590 #907E15 #15907E
tetradic
#7E1590 #904115 #279015 #156490
square
#7E1590 #904115 #279015 #156490
split-complementary
#7E1590 #649015 #159041
monochromatic
#210525 #4F0D5B #7E1590 #AD1DC5 #CA3DE3

Accessibility & contrast

On white

8.76
#7E1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1590
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1590#FFFFFF#000000##FFFFFF
##7E15901.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#7F3255
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e1590;
/* rgb */ color: rgb(126, 21, 144);
/* oklch */ color: oklch(43.8% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#a763b1',
    500: '#7e1590',
    950: '#000000',
  },
}
SCSS
$custom: #7e1590;
$custom-light: #a763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1590",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 291.22,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43764,
    "c": 0.19294,
    "h": 321
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#7E1590
secondary
#52C23E
accent
#F13752
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1590

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

Preview Lab → · Contrast checker → · Palette generator →

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