#7C7899#7C7899

#7C7899 is a mid, muted blue. Relative luminance 0.200; OKLCH L 58.8% C 0.050 H 290.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7C7899
RGBrgb(124, 120, 153)
HSLhsl(247, 14%, 54%)
HSVhsv(247, 22%, 60%)
CMYKcmyk(19%, 21.6%, 0%, 40%)
CIE-LABlab(51.86, 8.71, -17.21)
CIE-LCHlch(51.86, 19.29, 296.84°)
OKLaboklab(58.83% 0.0174 -0.047)
OKLCHoklch(58.83% 0.05 290.3)
XYZxyz(20.7771, 20.0177, 32.9000)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7899 #959978
analogous
#788499 #7C7899 #8C7899
triadic
#7C7899 #997C78 #78997C
tetradic
#7C7899 #997884 #959978 #78998C
square
#7C7899 #997884 #959978 #78998C
split-complementary
#7C7899 #998C78 #849978
monochromatic
#434156 #5F5B79 #7C7899 #9E9BB3 #C0BECE

Accessibility & contrast

On white

4.20
#7C7899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7C7899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7899
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7899#FFFFFF#000000##000000
##7C78991.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9A
Deuteranopia (green-blind)
#707B98
Tritanopia (blue-blind)
#767D83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c7899;
/* rgb */ color: rgb(124, 120, 153);
/* oklch */ color: oklch(58.8% 0.050 290.3);
Tailwind
colors: {
  custom: {
    50: '#a29fb7',
    500: '#7c7899',
    950: '#000000',
  },
}
SCSS
$custom: #7c7899;
$custom-light: #a29fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7899",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 247.273,
    "s": 13.924,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.05015,
    "h": 290.3
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#7C7899
secondary
#BCBDAF
accent
#B771AE
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7C7899

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

Preview Lab → · Contrast checker → · Palette generator →

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