#7C6BB5#7C6BB5

#7C6BB5 is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.5% C 0.112 H 293.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C6BB5
RGBrgb(124, 107, 181)
HSLhsl(254, 33%, 56%)
HSVhsv(254, 41%, 71%)
CMYKcmyk(31.5%, 40.9%, 0%, 29%)
CIE-LABlab(49.66, 23.55, -36.92)
CIE-LCHlch(49.66, 43.79, 302.53°)
OKLaboklab(57.54% 0.0441 -0.1034)
OKLCHoklch(57.54% 0.112 293.1)
XYZxyz(21.9083, 18.1363, 46.0535)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6BB5 #A4B56B
analogous
#6B7FB5 #7C6BB5 #A16BB5
triadic
#7C6BB5 #B57C6B #6BB57C
tetradic
#7C6BB5 #B56B7F #A4B56B #6BB5A1
square
#7C6BB5 #B56B7F #A4B56B #6BB5A1
split-complementary
#7C6BB5 #B5A16B #7FB56B
monochromatic
#44376E #5D4C97 #7C6BB5 #A094C9 #C4BDDE

Accessibility & contrast

On white

4.54
#7C6BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7C6BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C6BB5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6BB5#FFFFFF#000000##000000
##7C6BB51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#6F7887
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c6bb5;
/* rgb */ color: rgb(124, 107, 181);
/* oklch */ color: oklch(57.5% 0.112 293.1);
Tailwind
colors: {
  custom: {
    50: '#a495cb',
    500: '#7c6bb5',
    950: '#000000',
  },
}
SCSS
$custom: #7c6bb5;
$custom-light: #a495cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6bb5",
  "rgb": {
    "r": 124,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 253.784,
    "s": 33.333,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.11239,
    "h": 293.1
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#7C6BB5
secondary
#C6CDAF
accent
#C95EB1
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7C6BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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