#7879F5#7879F5

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

Color values

HEX#7879F5
RGBrgb(120, 121, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(51%, 50.6%, 0%, 3.9%)
CIE-LABlab(56.35, 32.56, -62.55)
CIE-LCHlch(56.35, 70.52, 297.50°)
OKLaboklab(63.65% 0.0302 -0.1785)
OKLCHoklch(63.65% 0.181 279.6)
XYZxyz(31.0594, 24.2586, 89.4142)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879F5 #F5F478
analogous
#78B8F5 #7879F5 #B678F5
triadic
#7879F5 #F57879 #79F578
tetradic
#7879F5 #F578B8 #F5F478 #78F5B6
square
#7879F5 #F578B8 #F5F478 #78F5B6
split-complementary
#7879F5 #F5B678 #B8F578
monochromatic
#1112E2 #3F40F1 #7879F5 #B1B2F9 #E3E3FD

Accessibility & contrast

On white

3.59
#7879F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7879F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879F5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879F5#FFFFFF#000000##000000
##7879F51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#2C82F2
Tritanopia (blue-blind)
#4494AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7879f5;
/* rgb */ color: rgb(120, 121, 245);
/* oklch */ color: oklch(63.7% 0.181 279.6);
Tailwind
colors: {
  custom: {
    50: '#a79ff9',
    500: '#7879f5',
    950: '#000000',
  },
}
SCSS
$custom: #7879f5;
$custom-light: #a79ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7879f5",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 239.52,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.181,
    "h": 279.6
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7879F5

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

Preview Lab → · Contrast checker → · Palette generator →

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