#7876BB#7876BB

#7876BB is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.7% C 0.104 H 284.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7876BB
RGBrgb(120, 118, 187)
HSLhsl(242, 34%, 60%)
HSVhsv(242, 37%, 73%)
CMYKcmyk(35.8%, 36.9%, 0%, 26.7%)
CIE-LABlab(52.44, 17.44, -36.04)
CIE-LCHlch(52.44, 40.04, 295.83°)
OKLaboklab(59.67% 0.0254 -0.1009)
OKLCHoklch(59.67% 0.104 284.1)
XYZxyz(23.1913, 20.5371, 49.7462)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876BB #B9BB76
analogous
#7697BB #7876BB #9B76BB
triadic
#7876BB #BB7876 #76BB78
tetradic
#7876BB #BB7697 #B9BB76 #76BB9B
square
#7876BB #BB7697 #B9BB76 #76BB9B
split-complementary
#7876BB #BB9B76 #97BB76
monochromatic
#3E3D7A #5351A3 #7876BB #A09FCF #C9C8E4

Accessibility & contrast

On white

4.11
#7876BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7876BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876BB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876BB#FFFFFF#000000##000000
##7876BB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#668390
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7876bb;
/* rgb */ color: rgb(120, 118, 187);
/* oklch */ color: oklch(59.7% 0.104 284.1);
Tailwind
colors: {
  custom: {
    50: '#a19dd0',
    500: '#7876bb',
    950: '#000000',
  },
}
SCSS
$custom: #7876bb;
$custom-light: #a19dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7876bb",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 241.739,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.10406,
    "h": 284.1
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#7876BB
secondary
#D3D4B9
accent
#CA5EC7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7876BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7876BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva