#7E409D#7E409D

#7E409D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.1% C 0.153 H 312.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7E409D
RGBrgb(126, 64, 157)
HSLhsl(280, 42%, 43%)
HSVhsv(280, 59%, 62%)
CMYKcmyk(19.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(38.79, 42.89, -39.95)
CIE-LCHlch(38.79, 58.61, 317.03°)
OKLaboklab(49.06% 0.1041 -0.112)
OKLCHoklch(49.06% 0.153 312.9)
XYZxyz(16.5223, 10.5372, 33.0553)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E409D #5F9D40
analogous
#4F409D #7E409D #9D408D
triadic
#7E409D #9D7E40 #409D7E
tetradic
#7E409D #9D4F40 #5F9D40 #408D9D
square
#7E409D #9D4F40 #5F9D40 #408D9D
split-complementary
#7E409D #8D9D40 #409D4F
monochromatic
#381D46 #5B2E72 #7E409D #9D5DBD #B789CF

Accessibility & contrast

On white

6.76
#7E409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7E409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E409D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E409D#FFFFFF#000000##FFFFFF
##7E409D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#7B5068
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e409d;
/* rgb */ color: rgb(126, 64, 157);
/* oklch */ color: oklch(49.1% 0.153 312.9);
Tailwind
colors: {
  custom: {
    50: '#a678ba',
    500: '#7e409d',
    950: '#000000',
  },
}
SCSS
$custom: #7e409d;
$custom-light: #a678ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e409d",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.15296,
    "h": 312.9
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#7E409D
secondary
#93B97F
accent
#D2567F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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