#7876CB#7876CB

#7876CB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.127 H 283.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7876CB
RGBrgb(120, 118, 203)
HSLhsl(241, 45%, 63%)
HSVhsv(241, 42%, 80%)
CMYKcmyk(40.9%, 41.9%, 0%, 20.4%)
CIE-LABlab(53.23, 21.94, -43.94)
CIE-LCHlch(53.23, 49.11, 296.54°)
OKLaboklab(60.54% 0.0286 -0.1239)
OKLCHoklch(60.54% 0.127 283)
XYZxyz(25.0005, 21.2607, 59.2748)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876CB #C9CB76
analogous
#769ECB #7876CB #A276CB
triadic
#7876CB #CB7876 #76CB78
tetradic
#7876CB #CB769E #C9CB76 #76CBA2
square
#7876CB #CB769E #C9CB76 #76CBA2
split-complementary
#7876CB #CBA276 #9ECB76
monochromatic
#393790 #4C4ABA #7876CB #A4A2DC #CFCFED

Accessibility & contrast

On white

4.00
#7876CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7876CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876CB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876CB#FFFFFF#000000##000000
##7876CB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#5F8797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7876cb;
/* rgb */ color: rgb(120, 118, 203);
/* oklch */ color: oklch(60.5% 0.127 283.0);
Tailwind
colors: {
  custom: {
    50: '#a29ddb',
    500: '#7876cb',
    950: '#000000',
  },
}
SCSS
$custom: #7876cb;
$custom-light: #a29ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7876cb",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 241.412,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60535,
    "c": 0.12714,
    "h": 283
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#7876CB
secondary
#DDDEBF
accent
#B82DB5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7876CB

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

Preview Lab → · Contrast checker → · Palette generator →

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