#7876F6#7876F6

#7876F6 is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.2% C 0.186 H 280.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7876F6
RGBrgb(120, 118, 246)
HSLhsl(241, 88%, 71%)
HSVhsv(241, 52%, 96%)
CMYKcmyk(51.2%, 52%, 0%, 3.5%)
CIE-LABlab(55.69, 34.64, -64.17)
CIE-LCHlch(55.69, 72.92, 298.36°)
OKLaboklab(63.18% 0.0335 -0.1832)
OKLCHoklch(63.18% 0.186 280.3)
XYZxyz(30.8536, 23.6020, 90.1008)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7876F6 #F4F676
analogous
#76B4F6 #7876F6 #B876F6
triadic
#7876F6 #F67876 #76F678
tetradic
#7876F6 #F676B4 #F4F676 #76F6B8
square
#7876F6 #F676B4 #F4F676 #76F6B8
split-complementary
#7876F6 #F6B876 #B4F676
monochromatic
#120FE3 #3F3DF2 #7876F6 #B1AFFA #E3E2FD

Accessibility & contrast

On white

3.67
#7876F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7876F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7876F6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7876F6#FFFFFF#000000##000000
##7876F61.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFA
Deuteranopia (green-blind)
#2081F3
Tritanopia (blue-blind)
#4493AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7876f6;
/* rgb */ color: rgb(120, 118, 246);
/* oklch */ color: oklch(63.2% 0.186 280.3);
Tailwind
colors: {
  custom: {
    50: '#a79dfa',
    500: '#7876f6',
    950: '#000000',
  },
}
SCSS
$custom: #7876f6;
$custom-light: #a79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7876f6",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 240.938,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.18626,
    "h": 280.3
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#7876F6
secondary
#F4F5D3
accent
#E401E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7876F6

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

Preview Lab → · Contrast checker → · Palette generator →

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