#7E409C#7E409C

#7E409C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.0% C 0.152 H 313.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7E409C
RGBrgb(126, 64, 156)
HSLhsl(280, 42%, 43%)
HSVhsv(280, 59%, 61%)
CMYKcmyk(19.2%, 59%, 0%, 38.8%)
CIE-LABlab(38.73, 42.66, -39.44)
CIE-LCHlch(38.73, 58.10, 317.24°)
OKLaboklab(49% 0.1041 -0.1106)
OKLCHoklch(49% 0.152 313.3)
XYZxyz(16.4373, 10.5032, 32.6075)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E409C #5E9C40
analogous
#50409C #7E409C #9C408C
triadic
#7E409C #9C7E40 #409C7E
tetradic
#7E409C #9C5040 #5E9C40 #408C9C
square
#7E409C #9C5040 #5E9C40 #408C9C
split-complementary
#7E409C #8C9C40 #409C50
monochromatic
#381C45 #5B2E71 #7E409C #9D5DBC #B788CE

Accessibility & contrast

On white

6.77
#7E409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7E409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E409C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E409C#FFFFFF#000000##FFFFFF
##7E409C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#7B5068
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e409c;
/* rgb */ color: rgb(126, 64, 156);
/* oklch */ color: oklch(49.0% 0.152 313.3);
Tailwind
colors: {
  custom: {
    50: '#a678ba',
    500: '#7e409c',
    950: '#000000',
  },
}
SCSS
$custom: #7e409c;
$custom-light: #a678ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e409c",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 280.435,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.15186,
    "h": 313.3
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#7E409C
secondary
#92B97F
accent
#D2567E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E409C

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

Preview Lab → · Contrast checker → · Palette generator →

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