#7879EC#7879EC

#7879EC is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.1% C 0.169 H 280.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7879EC
RGBrgb(120, 121, 236)
HSLhsl(239, 75%, 70%)
HSVhsv(239, 49%, 93%)
CMYKcmyk(49.2%, 48.7%, 0%, 7.5%)
CIE-LABlab(55.81, 29.85, -58.42)
CIE-LCHlch(55.81, 65.60, 297.06°)
OKLaboklab(63.08% 0.0294 -0.1663)
OKLCHoklch(63.08% 0.169 280)
XYZxyz(29.7188, 23.7223, 82.3535)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879EC #ECEB78
analogous
#78B3EC #7879EC #B178EC
triadic
#7879EC #EC7879 #79EC78
tetradic
#7879EC #EC78B3 #ECEB78 #78ECB1
square
#7879EC #EC78B3 #ECEB78 #78ECB1
split-complementary
#7879EC #ECB178 #B3EC78
monochromatic
#1D1ECD #4244E4 #7879EC #AEAEF4 #E3E4FB

Accessibility & contrast

On white

3.66
#7879EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7879EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879EC#FFFFFF#000000##000000
##7879EC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#4B92A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7879ec;
/* rgb */ color: rgb(120, 121, 236);
/* oklch */ color: oklch(63.1% 0.169 280.0);
Tailwind
colors: {
  custom: {
    50: '#a69ff3',
    500: '#7879ec',
    950: '#000000',
  },
}
SCSS
$custom: #7879ec;
$custom-light: #a69ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7879ec",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 239.483,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63076,
    "c": 0.16888,
    "h": 280
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#7879EC
secondary
#F0F0D0
accent
#D60ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7879EC

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

Preview Lab → · Contrast checker → · Palette generator →

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