#7879FC#7879FC

#7879FC is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.1% C 0.190 H 279.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7879FC
RGBrgb(120, 121, 252)
HSLhsl(240, 96%, 73%)
HSVhsv(240, 52%, 99%)
CMYKcmyk(52.4%, 52%, 0%, 1.2%)
CIE-LABlab(56.78, 34.68, -65.73)
CIE-LCHlch(56.78, 74.32, 297.82°)
OKLaboklab(64.11% 0.0306 -0.1878)
OKLCHoklch(64.11% 0.19 279.3)
XYZxyz(32.1483, 24.6941, 95.1490)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879FC #FCFB78
analogous
#78BBFC #7879FC #B978FC
triadic
#7879FC #FC7879 #79FC78
tetradic
#7879FC #FC78BB #FCFB78 #78FCB9
square
#7879FC #FC78BB #FCFB78 #78FCB9
split-complementary
#7879FC #FCB978 #BBFC78
monochromatic
#0507F4 #3C3EFB #7879FC #B4B4FD #E1E1FE

Accessibility & contrast

On white

3.54
#7879FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#7879FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879FC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879FC#FFFFFF#000000##000000
##7879FC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#1C83F9
Tritanopia (blue-blind)
#3D96AF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7879fc;
/* rgb */ color: rgb(120, 121, 252);
/* oklch */ color: oklch(64.1% 0.190 279.3);
Tailwind
colors: {
  custom: {
    50: '#a89ffe',
    500: '#7879fc',
    950: '#000000',
  },
}
SCSS
$custom: #7879fc;
$custom-light: #a89ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7879fc",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 239.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.1903,
    "h": 279.3
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

primary
#7879FC
secondary
#F7F6D4
accent
#E400E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7879FC

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

Preview Lab → · Contrast checker → · Palette generator →

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