#7876FC#7876FC

#7876FC is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.6% C 0.194 H 280.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7876FC
RGBrgb(120, 118, 252)
HSLhsl(241, 96%, 73%)
HSVhsv(241, 53%, 99%)
CMYKcmyk(52.4%, 53.2%, 0%, 1.2%)
CIE-LABlab(56.06, 36.45, -66.88)
CIE-LCHlch(56.06, 76.17, 298.59°)
OKLaboklab(63.58% 0.0337 -0.1912)
OKLCHoklch(63.58% 0.194 280)
XYZxyz(31.7894, 23.9763, 95.0294)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876FC #FAFC76
analogous
#76B7FC #7876FC #BB76FC
triadic
#7876FC #FC7876 #76FC78
tetradic
#7876FC #FC76B7 #FAFC76 #76FCBB
square
#7876FC #FC76B7 #FAFC76 #76FCBB
split-complementary
#7876FC #FCBB76 #B7FC76
monochromatic
#0905F2 #3D3AFB #7876FC #B3B2FD #E1E1FE

Accessibility & contrast

On white

3.62
#7876FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7876FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876FC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876FC#FFFFFF#000000##000000
##7876FC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#278CFF
Deuteranopia (green-blind)
#0A81F9
Tritanopia (blue-blind)
#3E94AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7876fc;
/* rgb */ color: rgb(120, 118, 252);
/* oklch */ color: oklch(63.6% 0.194 280.0);
Tailwind
colors: {
  custom: {
    50: '#a89dfe',
    500: '#7876fc',
    950: '#000000',
  },
}
SCSS
$custom: #7876fc;
$custom-light: #a89dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7876fc",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 240.896,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63581,
    "c": 0.19416,
    "h": 280
  },
  "luminance": 0.23978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7876FC

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

Preview Lab → · Contrast checker → · Palette generator →

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