#7E6EC4#7E6EC4

#7E6EC4 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.1% C 0.129 H 290.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E6EC4
RGBrgb(126, 110, 196)
HSLhsl(251, 42%, 60%)
HSVhsv(251, 44%, 77%)
CMYKcmyk(35.7%, 43.9%, 0%, 23.1%)
CIE-LABlab(51.35, 26.35, -42.89)
CIE-LCHlch(51.35, 50.33, 301.56°)
OKLaboklab(59.11% 0.045 -0.1207)
OKLCHoklch(59.11% 0.129 290.4)
XYZxyz(24.1413, 19.5724, 54.7198)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EC4 #B4C46E
analogous
#6E89C4 #7E6EC4 #A96EC4
triadic
#7E6EC4 #C47E6E #6EC47E
tetradic
#7E6EC4 #C46E89 #B4C46E #6EC4A9
square
#7E6EC4 #C46E89 #B4C46E #6EC4A9
split-complementary
#7E6EC4 #C4A96E #89C46E
monochromatic
#443583 #5A47AE #7E6EC4 #A599D6 #CBC5E7

Accessibility & contrast

On white

4.27
#7E6EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7E6EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EC4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EC4#FFFFFF#000000##000000
##7E6EC41.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517CC7
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#6C7E8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e6ec4;
/* rgb */ color: rgb(126, 110, 196);
/* oklch */ color: oklch(59.1% 0.129 290.4);
Tailwind
colors: {
  custom: {
    50: '#a697d6',
    500: '#7e6ec4',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ec4;
$custom-light: #a697d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ec4",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 251.163,
    "s": 42.157,
    "l": 60
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.12883,
    "h": 290.4
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#7E6EC4
secondary
#D1D7B6
accent
#D256BB
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7E6EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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