#7E2490#7E2490

#7E2490 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.179 H 320.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7E2490
RGBrgb(126, 36, 144)
HSLhsl(290, 60%, 35%)
HSVhsv(290, 75%, 56%)
CMYKcmyk(12.5%, 75%, 0%, 43.5%)
CIE-LABlab(33.38, 52.91, -40.70)
CIE-LCHlch(33.38, 66.76, 322.43°)
OKLaboklab(44.89% 0.1376 -0.114)
OKLCHoklch(44.89% 0.179 320.4)
XYZxyz(14.2685, 7.7117, 27.1171)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2490 #369024
analogous
#482490 #7E2490 #90246C
triadic
#7E2490 #907E24 #24907E
tetradic
#7E2490 #904824 #369024 #246C90
square
#7E2490 #904824 #369024 #246C90
split-complementary
#7E2490 #6C9024 #249048
monochromatic
#280C2E #53185F #7E2490 #A930C1 #C159D5

Accessibility & contrast

On white

8.26
#7E2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7E2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2490
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2490#FFFFFF#000000##FFFFFF
##7E24901.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#7F3958
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2490;
/* rgb */ color: rgb(126, 36, 144);
/* oklch */ color: oklch(44.9% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#a769b1',
    500: '#7e2490',
    950: '#000000',
  },
}
SCSS
$custom: #7e2490;
$custom-light: #a769b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2490",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.17874,
    "h": 320.4
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#7E2490
secondary
#67BA56
accent
#E3455F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2490

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

Preview Lab → · Contrast checker → · Palette generator →

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