#7E409F#7E409F

#7E409F is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.2% C 0.155 H 312.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7E409F
RGBrgb(126, 64, 159)
HSLhsl(279, 43%, 44%)
HSVhsv(279, 60%, 62%)
CMYKcmyk(20.8%, 59.7%, 0%, 37.6%)
CIE-LABlab(38.91, 43.34, -40.97)
CIE-LCHlch(38.91, 59.64, 316.61°)
OKLaboklab(49.18% 0.1042 -0.115)
OKLCHoklch(49.18% 0.155 312.2)
XYZxyz(16.6945, 10.6060, 33.9619)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E409F #619F40
analogous
#4E409F #7E409F #9F4090
triadic
#7E409F #9F7E40 #409F7E
tetradic
#7E409F #9F4E40 #619F40 #40909F
square
#7E409F #9F4E40 #619F40 #40909F
split-complementary
#7E409F #909F40 #409F4E
monochromatic
#391D48 #5B2E73 #7E409F #9D5EBE #B78AD0

Accessibility & contrast

On white

6.73
#7E409F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7E409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E409F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E409F#FFFFFF#000000##FFFFFF
##7E409F1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#3A5D9D
Tritanopia (blue-blind)
#7A5169
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e409f;
/* rgb */ color: rgb(126, 64, 159);
/* oklch */ color: oklch(49.2% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#a678bc',
    500: '#7e409f',
    950: '#000000',
  },
}
SCSS
$custom: #7e409f;
$custom-light: #a678bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e409f",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 279.158,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.15518,
    "h": 312.2
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#7E409F
secondary
#95BB80
accent
#D25581
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7E409F

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

Preview Lab → · Contrast checker → · Palette generator →

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