#7879BC#7879BC

#7879BC is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.3% C 0.101 H 282.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7879BC
RGBrgb(120, 121, 188)
HSLhsl(239, 34%, 60%)
HSVhsv(239, 36%, 74%)
CMYKcmyk(36.2%, 35.6%, 0%, 26.3%)
CIE-LABlab(53.27, 15.93, -35.30)
CIE-LCHlch(53.27, 38.73, 294.28°)
OKLaboklab(60.32% 0.0215 -0.0988)
OKLCHoklch(60.32% 0.101 282.3)
XYZxyz(23.6577, 21.2979, 50.4316)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879BC #BCBB78
analogous
#789BBC #7879BC #9978BC
triadic
#7879BC #BC7879 #79BC78
tetradic
#7879BC #BC789B #BCBB78 #78BC99
square
#7879BC #BC789B #BCBB78 #78BC99
split-complementary
#7879BC #BC9978 #9BBC78
monochromatic
#3E3E7C #5253A5 #7879BC #A1A2D0 #CACAE5

Accessibility & contrast

On white

3.99
#7879BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7879BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879BC#FFFFFF#000000##000000
##7879BC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#658692
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7879bc;
/* rgb */ color: rgb(120, 121, 188);
/* oklch */ color: oklch(60.3% 0.101 282.3);
Tailwind
colors: {
  custom: {
    50: '#a19fd0',
    500: '#7879bc',
    950: '#000000',
  },
}
SCSS
$custom: #7879bc;
$custom-light: #a19fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7879bc",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 239.118,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.10109,
    "h": 282.3
  },
  "luminance": 0.21299
}

Semantic roles & 50–950 ramp

primary
#7879BC
secondary
#D5D5BB
accent
#AB39AC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7879BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7879BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva