#7E6EC1#7E6EC1

#7E6EC1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 58.9% C 0.125 H 290.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7E6EC1
RGBrgb(126, 110, 193)
HSLhsl(252, 40%, 59%)
HSVhsv(252, 43%, 76%)
CMYKcmyk(34.7%, 43%, 0%, 24.3%)
CIE-LABlab(51.19, 25.53, -41.41)
CIE-LCHlch(51.19, 48.65, 301.65°)
OKLaboklab(58.94% 0.0445 -0.1164)
OKLCHoklch(58.94% 0.125 290.9)
XYZxyz(23.8032, 19.4372, 52.9394)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EC1 #B1C16E
analogous
#6E88C1 #7E6EC1 #A86EC1
triadic
#7E6EC1 #C17E6E #6EC17E
tetradic
#7E6EC1 #C16E88 #B1C16E #6EC1A8
square
#7E6EC1 #C16E88 #B1C16E #6EC1A8
split-complementary
#7E6EC1 #C1A86E #88C16E
monochromatic
#44367F #5B48A9 #7E6EC1 #A499D3 #CAC4E6

Accessibility & contrast

On white

4.30
#7E6EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7E6EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EC1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EC1#FFFFFF#000000##000000
##7E6EC11.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537BC4
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#6E7E8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e6ec1;
/* rgb */ color: rgb(126, 110, 193);
/* oklch */ color: oklch(58.9% 0.125 290.9);
Tailwind
colors: {
  custom: {
    50: '#a697d4',
    500: '#7e6ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ec1;
$custom-light: #a697d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ec1",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 251.566,
    "s": 40.097,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.12463,
    "h": 290.9
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#7E6EC1
secondary
#CFD6B5
accent
#D058B9
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7E6EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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