#7876FB#7876FB

#7876FB is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.5% C 0.193 H 280.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7876FB
RGBrgb(120, 118, 251)
HSLhsl(241, 94%, 72%)
HSVhsv(241, 53%, 98%)
CMYKcmyk(52.2%, 53%, 0%, 1.6%)
CIE-LABlab(56.00, 36.15, -66.43)
CIE-LCHlch(56.00, 75.63, 298.55°)
OKLaboklab(63.51% 0.0337 -0.1899)
OKLCHoklch(63.51% 0.193 280.1)
XYZxyz(31.6313, 23.9131, 94.1970)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876FB #F9FB76
analogous
#76B7FB #7876FB #BA76FB
triadic
#7876FB #FB7876 #76FB78
tetradic
#7876FB #FB76B7 #F9FB76 #76FBBA
square
#7876FB #FB76B7 #F9FB76 #76FBBA
split-complementary
#7876FB #FBBA76 #B7FB76
monochromatic
#0A07F0 #3D3BF9 #7876FB #B3B1FD #E2E1FE

Accessibility & contrast

On white

3.63
#7876FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7876FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876FB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876FB#FFFFFF#000000##000000
##7876FB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#288BFF
Deuteranopia (green-blind)
#1081F8
Tritanopia (blue-blind)
#3F94AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7876fb;
/* rgb */ color: rgb(120, 118, 251);
/* oklch */ color: oklch(63.5% 0.193 280.1);
Tailwind
colors: {
  custom: {
    50: '#a89dfd',
    500: '#7876fb',
    950: '#000000',
  },
}
SCSS
$custom: #7876fb;
$custom-light: #a89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7876fb",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 240.902,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.19286,
    "h": 280.1
  },
  "luminance": 0.23915
}

Semantic roles & 50–950 ramp

primary
#7876FB
secondary
#F6F6D5
accent
#E600E2
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7876FB

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

Preview Lab → · Contrast checker → · Palette generator →

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