#7C78AE#7C78AE

#7C78AE is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.8% C 0.082 H 287.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C78AE
RGBrgb(124, 120, 174)
HSLhsl(244, 25%, 58%)
HSVhsv(244, 31%, 68%)
CMYKcmyk(28.7%, 31%, 0%, 31.8%)
CIE-LABlab(52.70, 13.94, -28.12)
CIE-LCHlch(52.70, 31.38, 296.37°)
OKLaboklab(59.76% 0.0239 -0.078)
OKLCHoklch(59.76% 0.082 287)
XYZxyz(22.6667, 20.7735, 42.8517)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78AE #AAAE78
analogous
#788FAE #7C78AE #9778AE
triadic
#7C78AE #AE7C78 #78AE7C
tetradic
#7C78AE #AE788F #AAAE78 #78AE97
square
#7C78AE #AE788F #AAAE78 #78AE97
split-complementary
#7C78AE #AE9778 #8FAE78
monochromatic
#44406B #5C5791 #7C78AE #A19EC5 #C6C4DC

Accessibility & contrast

On white

4.07
#7C78AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C78AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78AE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78AE#FFFFFF#000000##000000
##7C78AE1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB0
Deuteranopia (green-blind)
#687CAD
Tritanopia (blue-blind)
#70828B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c78ae;
/* rgb */ color: rgb(124, 120, 174);
/* oklch */ color: oklch(59.8% 0.082 287.0);
Tailwind
colors: {
  custom: {
    50: '#a39fc6',
    500: '#7c78ae',
    950: '#000000',
  },
}
SCSS
$custom: #7c78ae;
$custom-light: #a39fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78ae",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 174
  },
  "hsl": {
    "h": 244.444,
    "s": 25,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.08157,
    "h": 287
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#7C78AE
secondary
#CACCB6
accent
#C166BB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7C78AE

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

Preview Lab → · Contrast checker → · Palette generator →

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