#7C6EB6#7C6EB6

#7C6EB6 is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.2% C 0.109 H 291.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C6EB6
RGBrgb(124, 110, 182)
HSLhsl(252, 33%, 57%)
HSVhsv(252, 40%, 71%)
CMYKcmyk(31.9%, 39.6%, 0%, 28.6%)
CIE-LABlab(50.47, 22.02, -36.23)
CIE-LCHlch(50.47, 42.39, 301.29°)
OKLaboklab(58.17% 0.0401 -0.1014)
OKLCHoklch(58.17% 0.109 291.6)
XYZxyz(22.3294, 18.8139, 46.7019)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6EB6 #A8B66E
analogous
#6E84B6 #7C6EB6 #A06EB6
triadic
#7C6EB6 #B67C6E #6EB67C
tetradic
#7C6EB6 #B66E84 #A8B66E #6EB6A0
square
#7C6EB6 #B66E84 #A8B66E #6EB6A0
split-complementary
#7C6EB6 #B6A06E #84B66E
monochromatic
#443971 #5C4D9A #7C6EB6 #A197CA #C6BFDF

Accessibility & contrast

On white

4.41
#7C6EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7C6EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6EB6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6EB6#FFFFFF#000000##000000
##7C6EB61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5979B9
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#6F7B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c6eb6;
/* rgb */ color: rgb(124, 110, 182);
/* oklch */ color: oklch(58.2% 0.109 291.6);
Tailwind
colors: {
  custom: {
    50: '#a497cc',
    500: '#7c6eb6',
    950: '#000000',
  },
}
SCSS
$custom: #7c6eb6;
$custom-light: #a497cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6eb6",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 182
  },
  "hsl": {
    "h": 251.667,
    "s": 33.028,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.10901,
    "h": 291.6
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#7C6EB6
secondary
#C9CEB1
accent
#C95FB4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7C6EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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