#7C7799#7C7799

#7C7799 is a mid, muted blue. Relative luminance 0.198; OKLCH L 58.6% C 0.052 H 291.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7C7799
RGBrgb(124, 119, 153)
HSLhsl(249, 14%, 53%)
HSVhsv(249, 22%, 60%)
CMYKcmyk(19%, 22.2%, 0%, 40%)
CIE-LABlab(51.59, 9.30, -17.63)
CIE-LCHlch(51.59, 19.93, 297.82°)
OKLaboklab(58.61% 0.0189 -0.0482)
OKLCHoklch(58.61% 0.052 291.5)
XYZxyz(20.6575, 19.7784, 32.8601)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7799 #949977
analogous
#778399 #7C7799 #8D7799
triadic
#7C7799 #997C77 #77997C
tetradic
#7C7799 #997783 #949977 #77998D
square
#7C7799 #997783 #949977 #77998D
split-complementary
#7C7799 #998D77 #839977
monochromatic
#434055 #5F5A78 #7C7799 #9E9AB3 #BFBDCD

Accessibility & contrast

On white

4.24
#7C7799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7C7799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7799
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7799#FFFFFF#000000##000000
##7C77991.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B9A
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#767C83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c7799;
/* rgb */ color: rgb(124, 119, 153);
/* oklch */ color: oklch(58.6% 0.052 291.5);
Tailwind
colors: {
  custom: {
    50: '#a29eb7',
    500: '#7c7799',
    950: '#000000',
  },
}
SCSS
$custom: #7c7799;
$custom-light: #a29eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7799",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 248.824,
    "s": 14.286,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.05178,
    "h": 291.5
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#7C7799
secondary
#BBBDAF
accent
#B771AD
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7C7799

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

Preview Lab → · Contrast checker → · Palette generator →

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