#7C78B1#7C78B1

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

Color values

HEX#7C78B1
RGBrgb(124, 120, 177)
HSLhsl(244, 27%, 58%)
HSVhsv(244, 32%, 69%)
CMYKcmyk(29.9%, 32.2%, 0%, 30.6%)
CIE-LABlab(52.83, 14.72, -29.65)
CIE-LCHlch(52.83, 33.10, 296.41°)
OKLaboklab(59.9% 0.0247 -0.0824)
OKLCHoklch(59.9% 0.086 286.7)
XYZxyz(22.9624, 20.8918, 44.4092)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78B1 #ADB178
analogous
#7890B1 #7C78B1 #9878B1
triadic
#7C78B1 #B17C78 #78B17C
tetradic
#7C78B1 #B17890 #ADB178 #78B198
square
#7C78B1 #B17890 #ADB178 #78B198
split-complementary
#7C78B1 #B19878 #90B178
monochromatic
#43406F #5B5695 #7C78B1 #A29FC7 #C7C6DE

Accessibility & contrast

On white

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

On black

5.18
#7C78B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78B1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78B1#FFFFFF#000000##000000
##7C78B11.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B3
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#6F828D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c78b1;
/* rgb */ color: rgb(124, 120, 177);
/* oklch */ color: oklch(59.9% 0.086 286.7);
Tailwind
colors: {
  custom: {
    50: '#a39fc8',
    500: '#7c78b1',
    950: '#000000',
  },
}
SCSS
$custom: #7c78b1;
$custom-light: #a39fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78b1",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 244.211,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.08601,
    "h": 286.7
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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