#7E409B#7E409B

#7E409B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.9% C 0.151 H 313.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7E409B
RGBrgb(126, 64, 155)
HSLhsl(281, 42%, 43%)
HSVhsv(281, 59%, 61%)
CMYKcmyk(18.7%, 58.7%, 0%, 39.2%)
CIE-LABlab(38.67, 42.44, -38.94)
CIE-LCHlch(38.67, 57.59, 317.46°)
OKLaboklab(48.93% 0.1041 -0.1091)
OKLCHoklch(48.93% 0.151 313.7)
XYZxyz(16.3530, 10.4694, 32.1634)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E409B #5D9B40
analogous
#50409B #7E409B #9B408A
triadic
#7E409B #9B7E40 #409B7E
tetradic
#7E409B #9B5040 #5D9B40 #408A9B
square
#7E409B #9B5040 #5D9B40 #408A9B
split-complementary
#7E409B #8A9B40 #409B50
monochromatic
#381C44 #5B2E70 #7E409B #9D5CBC #B788CE

Accessibility & contrast

On white

6.79
#7E409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7E409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E409B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E409B#FFFFFF#000000##FFFFFF
##7E409B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589E
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#7B5067
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e409b;
/* rgb */ color: rgb(126, 64, 155);
/* oklch */ color: oklch(48.9% 0.151 313.7);
Tailwind
colors: {
  custom: {
    50: '#a678b9',
    500: '#7e409b',
    950: '#000000',
  },
}
SCSS
$custom: #7e409b;
$custom-light: #a678b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e409b",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 280.879,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.15075,
    "h": 313.7
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#7E409B
secondary
#91B87E
accent
#D1567E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E409B

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

Preview Lab → · Contrast checker → · Palette generator →

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