#7876B7#7876B7

#7876B7 is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.5% C 0.098 H 284.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7876B7
RGBrgb(120, 118, 183)
HSLhsl(242, 31%, 59%)
HSVhsv(242, 36%, 72%)
CMYKcmyk(34.4%, 35.5%, 0%, 28.2%)
CIE-LABlab(52.25, 16.35, -34.03)
CIE-LCHlch(52.25, 37.76, 295.65°)
OKLaboklab(59.46% 0.0244 -0.0951)
OKLCHoklch(59.46% 0.098 284.4)
XYZxyz(22.7691, 20.3682, 47.5224)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876B7 #B5B776
analogous
#7695B7 #7876B7 #9976B7
triadic
#7876B7 #B77876 #76B778
tetradic
#7876B7 #B77695 #B5B776 #76B799
square
#7876B7 #B77695 #B5B776 #76B799
split-complementary
#7876B7 #B79976 #95B776
monochromatic
#3F3E75 #55539D #7876B7 #A09ECC #C7C6E1

Accessibility & contrast

On white

4.14
#7876B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7876B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876B7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876B7#FFFFFF#000000##000000
##7876B71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBA
Deuteranopia (green-blind)
#607BB5
Tritanopia (blue-blind)
#68828E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7876b7;
/* rgb */ color: rgb(120, 118, 183);
/* oklch */ color: oklch(59.5% 0.098 284.4);
Tailwind
colors: {
  custom: {
    50: '#a19dcd',
    500: '#7876b7',
    950: '#000000',
  },
}
SCSS
$custom: #7876b7;
$custom-light: #a19dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7876b7",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 183
  },
  "hsl": {
    "h": 241.846,
    "s": 31.1,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.09819,
    "h": 284.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#7876B7
secondary
#D0D1B8
accent
#C761C4
background
#FAF9FC
surface
#F3F2F9
border
#CDCCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7876B7

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

Preview Lab → · Contrast checker → · Palette generator →

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