#7E1990#7E1990

#7E1990 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.190 H 320.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7E1990
RGBrgb(126, 25, 144)
HSLhsl(291, 70%, 33%)
HSVhsv(291, 83%, 56%)
CMYKcmyk(12.5%, 82.6%, 0%, 43.5%)
CIE-LABlab(32.14, 56.49, -42.69)
CIE-LCHlch(32.14, 70.81, 322.92°)
OKLaboklab(44.02% 0.1471 -0.1198)
OKLCHoklch(44.02% 0.19 320.8)
XYZxyz(13.9853, 7.1453, 27.0227)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1990 #2B9019
analogous
#421990 #7E1990 #901966
triadic
#7E1990 #907E19 #19907E
tetradic
#7E1990 #904219 #2B9019 #196690
square
#7E1990 #904219 #2B9019 #196690
split-complementary
#7E1990 #669019 #199042
monochromatic
#230728 #50105C #7E1990 #AC22C4 #C745DF

Accessibility & contrast

On white

8.65
#7E1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1990
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1990#FFFFFF#000000##FFFFFF
##7E19901.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#7F3456
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e1990;
/* rgb */ color: rgb(126, 25, 144);
/* oklch */ color: oklch(44.0% 0.190 320.8);
Tailwind
colors: {
  custom: {
    50: '#a764b1',
    500: '#7e1990',
    950: '#000000',
  },
}
SCSS
$custom: #7e1990;
$custom-light: #a764b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1990",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 290.924,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.18973,
    "h": 320.8
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#7E1990
secondary
#58C045
accent
#ED3B56
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1990

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

Preview Lab → · Contrast checker → · Palette generator →

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