#7E409E#7E409E

#7E409E is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.154 H 312.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E409E
RGBrgb(126, 64, 158)
HSLhsl(280, 42%, 44%)
HSVhsv(280, 59%, 62%)
CMYKcmyk(20.3%, 59.5%, 0%, 38%)
CIE-LABlab(38.85, 43.11, -40.46)
CIE-LCHlch(38.85, 59.12, 316.82°)
OKLaboklab(49.12% 0.1042 -0.1135)
OKLCHoklch(49.12% 0.154 312.5)
XYZxyz(16.6081, 10.5715, 33.5067)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E409E #609E40
analogous
#4F409E #7E409E #9E408F
triadic
#7E409E #9E7E40 #409E7E
tetradic
#7E409E #9E4F40 #609E40 #408F9E
square
#7E409E #9E4F40 #609E40 #408F9E
split-complementary
#7E409E #8F9E40 #409E4F
monochromatic
#391D47 #5B2E72 #7E409E #9D5EBE #B789CF

Accessibility & contrast

On white

6.74
#7E409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E409E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E409E#FFFFFF#000000##FFFFFF
##7E409E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A1
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#7B5169
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e409e;
/* rgb */ color: rgb(126, 64, 158);
/* oklch */ color: oklch(49.1% 0.154 312.5);
Tailwind
colors: {
  custom: {
    50: '#a678bb',
    500: '#7e409e',
    950: '#000000',
  },
}
SCSS
$custom: #7e409e;
$custom-light: #a678bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e409e",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 279.574,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.15407,
    "h": 312.5
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#7E409E
secondary
#94BA80
accent
#D25680
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E409E

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

Preview Lab → · Contrast checker → · Palette generator →

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