#7C78B0#7C78B0

#7C78B0 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.9% C 0.085 H 286.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C78B0
RGBrgb(124, 120, 176)
HSLhsl(244, 26%, 58%)
HSVhsv(244, 32%, 69%)
CMYKcmyk(29.5%, 31.8%, 0%, 31%)
CIE-LABlab(52.79, 14.46, -29.14)
CIE-LCHlch(52.79, 32.53, 296.40°)
OKLaboklab(59.85% 0.0245 -0.0809)
OKLCHoklch(59.85% 0.085 286.8)
XYZxyz(22.8631, 20.8521, 43.8862)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78B0 #ACB078
analogous
#7890B0 #7C78B0 #9878B0
triadic
#7C78B0 #B07C78 #78B07C
tetradic
#7C78B0 #B07890 #ACB078 #78B098
square
#7C78B0 #B07890 #ACB078 #78B098
split-complementary
#7C78B0 #B09878 #90B078
monochromatic
#43406E #5B5794 #7C78B0 #A19FC7 #C7C5DD

Accessibility & contrast

On white

4.06
#7C78B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7C78B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78B0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78B0#FFFFFF#000000##000000
##7C78B01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB2
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#70828C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c78b0;
/* rgb */ color: rgb(124, 120, 176);
/* oklch */ color: oklch(59.9% 0.085 286.8);
Tailwind
colors: {
  custom: {
    50: '#a39fc8',
    500: '#7c78b0',
    950: '#000000',
  },
}
SCSS
$custom: #7c78b0;
$custom-light: #a39fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78b0",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 176
  },
  "hsl": {
    "h": 244.286,
    "s": 26.168,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.08454,
    "h": 286.8
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#7C78B0
secondary
#CBCDB7
accent
#C365BC
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7C78B0

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

Preview Lab → · Contrast checker → · Palette generator →

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