#7879F6#7879F6

#7879F6 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.182 H 279.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7879F6
RGBrgb(120, 121, 246)
HSLhsl(240, 88%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(51.2%, 50.8%, 0%, 3.5%)
CIE-LABlab(56.41, 32.86, -63.01)
CIE-LCHlch(56.41, 71.07, 297.54°)
OKLaboklab(63.72% 0.0302 -0.1798)
OKLCHoklch(63.72% 0.182 279.5)
XYZxyz(31.2125, 24.3198, 90.2204)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879F6 #F6F578
analogous
#78B8F6 #7879F6 #B678F6
triadic
#7879F6 #F67879 #79F678
tetradic
#7879F6 #F678B8 #F6F578 #78F6B6
square
#7879F6 #F678B8 #F6F578 #78F6B6
split-complementary
#7879F6 #F6B678 #B8F678
monochromatic
#0F11E4 #3F40F2 #7879F6 #B1B2FA #E2E3FD

Accessibility & contrast

On white

3.58
#7879F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7879F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879F6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879F6#FFFFFF#000000##000000
##7879F61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CFA
Deuteranopia (green-blind)
#2A82F3
Tritanopia (blue-blind)
#4395AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7879f6;
/* rgb */ color: rgb(120, 121, 246);
/* oklch */ color: oklch(63.7% 0.182 279.5);
Tailwind
colors: {
  custom: {
    50: '#a79ffa',
    500: '#7879f6',
    950: '#000000',
  },
}
SCSS
$custom: #7879f6;
$custom-light: #a79ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#7879f6",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 239.524,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.18233,
    "h": 279.5
  },
  "luminance": 0.24322
}

Semantic roles & 50–950 ramp

primary
#7879F6
secondary
#F5F5D5
accent
#E201E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7879F6

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

Preview Lab → · Contrast checker → · Palette generator →

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