#7C6DB6#7C6DB6

#7C6DB6 is a mid, moderate violet. Relative luminance 0.186; OKLCH L 58.0% C 0.111 H 292.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C6DB6
RGBrgb(124, 109, 182)
HSLhsl(252, 33%, 57%)
HSVhsv(252, 40%, 71%)
CMYKcmyk(31.9%, 40.1%, 0%, 28.6%)
CIE-LABlab(50.22, 22.62, -36.63)
CIE-LCHlch(50.22, 43.05, 301.69°)
OKLaboklab(57.97% 0.0415 -0.1025)
OKLCHoklch(57.97% 0.111 292)
XYZxyz(22.2222, 18.5993, 46.6661)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6DB6 #A7B66D
analogous
#6D83B6 #7C6DB6 #A16DB6
triadic
#7C6DB6 #B67C6D #6DB67C
tetradic
#7C6DB6 #B66D83 #A7B66D #6DB6A1
square
#7C6DB6 #B66D83 #A7B66D #6DB6A1
split-complementary
#7C6DB6 #B6A16D #83B66D
monochromatic
#443870 #5C4D99 #7C6DB6 #A196CA #C5BFDF

Accessibility & contrast

On white

4.45
#7C6DB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C6DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6DB6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6DB6#FFFFFF#000000##000000
##7C6DB61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779B9
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#6F7A89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c6db6;
/* rgb */ color: rgb(124, 109, 182);
/* oklch */ color: oklch(58.0% 0.111 292.0);
Tailwind
colors: {
  custom: {
    50: '#a497cc',
    500: '#7c6db6',
    950: '#000000',
  },
}
SCSS
$custom: #7c6db6;
$custom-light: #a497cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6db6",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 252.329,
    "s": 33.333,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.1106,
    "h": 292
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#7C6DB6
secondary
#C8CEB1
accent
#C95EB3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7C6DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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