#7E6BC2#7E6BC2

#7E6BC2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.4% C 0.131 H 291.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E6BC2
RGBrgb(126, 107, 194)
HSLhsl(253, 42%, 59%)
HSVhsv(253, 45%, 76%)
CMYKcmyk(35.1%, 44.8%, 0%, 23.9%)
CIE-LABlab(50.51, 27.59, -43.08)
CIE-LCHlch(50.51, 51.15, 302.63°)
OKLaboklab(58.44% 0.0487 -0.1213)
OKLCHoklch(58.44% 0.131 291.9)
XYZxyz(23.5969, 18.8455, 53.4228)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BC2 #AFC26B
analogous
#6B84C2 #7E6BC2 #AA6BC2
triadic
#7E6BC2 #C27E6B #6BC27E
tetradic
#7E6BC2 #C26B84 #AFC26B #6BC2AA
square
#7E6BC2 #C26B84 #AFC26B #6BC2AA
split-complementary
#7E6BC2 #C2AA6B #84C26B
monochromatic
#44347E #5C46AA #7E6BC2 #A496D4 #CAC2E6

Accessibility & contrast

On white

4.40
#7E6BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7E6BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BC2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BC2#FFFFFF#000000##000000
##7E6BC21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#6D7C8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e6bc2;
/* rgb */ color: rgb(126, 107, 194);
/* oklch */ color: oklch(58.4% 0.131 291.9);
Tailwind
colors: {
  custom: {
    50: '#a695d5',
    500: '#7e6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bc2;
$custom-light: #a695d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bc2",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 253.103,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.13069,
    "h": 291.9
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#7E6BC2
secondary
#CED5B3
accent
#D156B7
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7E6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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