#7876DB#7876DB

#7876DB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.150 H 282.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7876DB
RGBrgb(120, 118, 219)
HSLhsl(241, 58%, 66%)
HSVhsv(241, 46%, 86%)
CMYKcmyk(45.2%, 46.1%, 0%, 14.1%)
CIE-LABlab(54.09, 26.58, -51.63)
CIE-LCHlch(54.09, 58.07, 297.24°)
OKLaboklab(61.47% 0.031 -0.1464)
OKLCHoklch(61.47% 0.15 282)
XYZxyz(27.0065, 22.0631, 69.8397)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876DB #D9DB76
analogous
#76A6DB #7876DB #AA76DB
triadic
#7876DB #DB7876 #76DB78
tetradic
#7876DB #DB76A6 #D9DB76 #76DBAA
square
#7876DB #DB76A6 #D9DB76 #76DBAA
split-complementary
#7876DB #DBAA76 #A6DB76
monochromatic
#2F2DAA #4846CE #7876DB #A8A6E8 #D8D7F4

Accessibility & contrast

On white

3.88
#7876DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7876DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876DB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876DB#FFFFFF#000000##000000
##7876DB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#578B9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7876db;
/* rgb */ color: rgb(120, 118, 219);
/* oklch */ color: oklch(61.5% 0.150 282.0);
Tailwind
colors: {
  custom: {
    50: '#a49de7',
    500: '#7876db',
    950: '#000000',
  },
}
SCSS
$custom: #7876db;
$custom-light: #a49de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7876db",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 241.188,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.14964,
    "h": 282
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#7876DB
secondary
#E6E7C6
accent
#C620C3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7876DB

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

Preview Lab → · Contrast checker → · Palette generator →

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