#7C6AB5#7C6AB5

#7C6AB5 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.3% C 0.114 H 293.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7C6AB5
RGBrgb(124, 106, 181)
HSLhsl(254, 34%, 56%)
HSVhsv(254, 41%, 71%)
CMYKcmyk(31.5%, 41.4%, 0%, 29%)
CIE-LABlab(49.41, 24.14, -37.32)
CIE-LCHlch(49.41, 44.45, 302.90°)
OKLaboklab(57.35% 0.0455 -0.1045)
OKLCHoklch(57.35% 0.114 293.5)
XYZxyz(21.8046, 17.9290, 46.0189)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6AB5 #A3B56A
analogous
#6A7EB5 #7C6AB5 #A26AB5
triadic
#7C6AB5 #B57C6A #6AB57C
tetradic
#7C6AB5 #B56A7E #A3B56A #6AB5A2
square
#7C6AB5 #B56A7E #A3B56A #6AB5A2
split-complementary
#7C6AB5 #B5A26A #7EB56A
monochromatic
#44376E #5D4B97 #7C6AB5 #A093C9 #C4BCDE

Accessibility & contrast

On white

4.58
#7C6AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7C6AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6AB5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6AB5#FFFFFF#000000##000000
##7C6AB51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B8
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#6F7887
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c6ab5;
/* rgb */ color: rgb(124, 106, 181);
/* oklch */ color: oklch(57.3% 0.114 293.5);
Tailwind
colors: {
  custom: {
    50: '#a494cb',
    500: '#7c6ab5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6ab5;
$custom-light: #a494cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6ab5",
  "rgb": {
    "r": 124,
    "g": 106,
    "b": 181
  },
  "hsl": {
    "h": 254.4,
    "s": 33.632,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.114,
    "h": 293.5
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#7C6AB5
secondary
#C5CDAE
accent
#CA5EB0
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7C6AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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