#7879F4#7879F4

#7879F4 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.180 H 279.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7879F4
RGBrgb(120, 121, 244)
HSLhsl(240, 85%, 71%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.8%, 50.4%, 0%, 4.3%)
CIE-LABlab(56.29, 32.26, -62.10)
CIE-LCHlch(56.29, 69.98, 297.45°)
OKLaboklab(63.59% 0.0301 -0.1771)
OKLCHoklch(63.59% 0.18 279.6)
XYZxyz(30.9072, 24.1977, 88.6124)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879F4 #F4F378
analogous
#78B7F4 #7879F4 #B578F4
triadic
#7879F4 #F47879 #79F478
tetradic
#7879F4 #F478B7 #F4F378 #78F4B5
square
#7879F4 #F478B7 #F4F378 #78F4B5
split-complementary
#7879F4 #F4B578 #B7F478
monochromatic
#1214DF #3F41EF #7879F4 #B1B1F9 #E3E3FD

Accessibility & contrast

On white

3.60
#7879F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7879F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879F4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879F4#FFFFFF#000000##000000
##7879F41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF8
Deuteranopia (green-blind)
#2E82F1
Tritanopia (blue-blind)
#4594AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7879f4;
/* rgb */ color: rgb(120, 121, 244);
/* oklch */ color: oklch(63.6% 0.180 279.6);
Tailwind
colors: {
  custom: {
    50: '#a79ff8',
    500: '#7879f4',
    950: '#000000',
  },
}
SCSS
$custom: #7879f4;
$custom-light: #a79ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7879f4",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 239.516,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.17966,
    "h": 279.6
  },
  "luminance": 0.24199
}

Semantic roles & 50–950 ramp

primary
#7879F4
secondary
#F4F4D4
accent
#E004E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7879F4

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

Preview Lab → · Contrast checker → · Palette generator →

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