#7C6CB7#7C6CB7

#7C6CB7 is a mid, moderate violet. Relative luminance 0.184; OKLCH L 57.8% C 0.114 H 292.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7C6CB7
RGBrgb(124, 108, 183)
HSLhsl(253, 34%, 57%)
HSVhsv(253, 41%, 72%)
CMYKcmyk(32.2%, 41%, 0%, 28.2%)
CIE-LABlab(50.01, 23.48, -37.53)
CIE-LCHlch(50.01, 44.27, 302.03°)
OKLaboklab(57.84% 0.0431 -0.1051)
OKLCHoklch(57.84% 0.114 292.3)
XYZxyz(22.2198, 18.4287, 47.1770)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6CB7 #A7B76C
analogous
#6C82B7 #7C6CB7 #A26CB7
triadic
#7C6CB7 #B77C6C #6CB77C
tetradic
#7C6CB7 #B76C82 #A7B76C #6CB7A2
square
#7C6CB7 #B76C82 #A7B76C #6CB7A2
split-complementary
#7C6CB7 #B7A26C #82B76C
monochromatic
#443771 #5C4C9A #7C6CB7 #A195CB #C5BEDF

Accessibility & contrast

On white

4.48
#7C6CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7C6CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6CB7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6CB7#FFFFFF#000000##000000
##7C6CB71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#5776B5
Tritanopia (blue-blind)
#6E7A89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c6cb7;
/* rgb */ color: rgb(124, 108, 183);
/* oklch */ color: oklch(57.8% 0.114 292.3);
Tailwind
colors: {
  custom: {
    50: '#a496cd',
    500: '#7c6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7c6cb7;
$custom-light: #a496cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6cb7",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 252.8,
    "s": 34.247,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.11362,
    "h": 292.3
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#7C6CB7
secondary
#C8CFB0
accent
#CA5DB3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7C6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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