#7879EF#7879EF

#7879EF is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.3% C 0.173 H 279.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7879EF
RGBrgb(120, 121, 239)
HSLhsl(239, 79%, 70%)
HSVhsv(239, 50%, 94%)
CMYKcmyk(49.8%, 49.4%, 0%, 6.3%)
CIE-LABlab(55.99, 30.75, -59.80)
CIE-LCHlch(55.99, 67.24, 297.21°)
OKLaboklab(63.27% 0.0297 -0.1704)
OKLCHoklch(63.27% 0.173 279.9)
XYZxyz(30.1583, 23.8981, 84.6683)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879EF #EFEE78
analogous
#78B4EF #7879EF #B278EF
triadic
#7879EF #EF7879 #79EF78
tetradic
#7879EF #EF78B4 #EFEE78 #78EFB2
square
#7879EF #EF78B4 #EFEE78 #78EFB2
split-complementary
#7879EF #EFB278 #B4EF78
monochromatic
#191BD4 #4143E9 #7879EF #AFAFF5 #E4E4FC

Accessibility & contrast

On white

3.63
#7879EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7879EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879EF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879EF#FFFFFF#000000##000000
##7879EF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#3682EC
Tritanopia (blue-blind)
#4993A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7879ef;
/* rgb */ color: rgb(120, 121, 239);
/* oklch */ color: oklch(63.3% 0.173 279.9);
Tailwind
colors: {
  custom: {
    50: '#a69ff5',
    500: '#7879ef',
    950: '#000000',
  },
}
SCSS
$custom: #7879ef;
$custom-light: #a69ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7879ef",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 239.496,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.17293,
    "h": 279.9
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#7879EF
secondary
#F2F1D1
accent
#D90ADB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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