#7876C8#7876C8

#7876C8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.123 H 283.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7876C8
RGBrgb(120, 118, 200)
HSLhsl(241, 43%, 62%)
HSVhsv(241, 41%, 78%)
CMYKcmyk(40%, 41%, 0%, 21.6%)
CIE-LABlab(53.08, 21.09, -42.47)
CIE-LCHlch(53.08, 47.42, 296.40°)
OKLaboklab(60.37% 0.028 -0.1196)
OKLCHoklch(60.37% 0.123 283.2)
XYZxyz(24.6465, 21.1191, 57.4102)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876C8 #C6C876
analogous
#769DC8 #7876C8 #A176C8
triadic
#7876C8 #C87876 #76C878
tetradic
#7876C8 #C8769D #C6C876 #76C8A1
square
#7876C8 #C8769D #C6C876 #76C8A1
split-complementary
#7876C8 #C8A176 #9DC876
monochromatic
#3A388C #4D4AB6 #7876C8 #A3A2DA #CECDEB

Accessibility & contrast

On white

4.02
#7876C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7876C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876C8#FFFFFF#000000##000000
##7876C81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#618695
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7876c8;
/* rgb */ color: rgb(120, 118, 200);
/* oklch */ color: oklch(60.4% 0.123 283.2);
Tailwind
colors: {
  custom: {
    50: '#a29dd9',
    500: '#7876c8',
    950: '#000000',
  },
}
SCSS
$custom: #7876c8;
$custom-light: #a29dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7876c8",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 241.463,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60367,
    "c": 0.12286,
    "h": 283.2
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#7876C8
secondary
#DBDCBE
accent
#B630B3
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7876C8

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

Preview Lab → · Contrast checker → · Palette generator →

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