#7879F9#7879F9

#7879F9 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.186 H 279.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7879F9
RGBrgb(120, 121, 249)
HSLhsl(240, 91%, 72%)
HSVhsv(240, 52%, 98%)
CMYKcmyk(51.8%, 51.4%, 0%, 2.4%)
CIE-LABlab(56.59, 33.77, -64.38)
CIE-LCHlch(56.59, 72.70, 297.68°)
OKLaboklab(63.92% 0.0304 -0.1838)
OKLCHoklch(63.92% 0.186 279.4)
XYZxyz(31.6767, 24.5055, 92.6650)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879F9 #F9F878
analogous
#78B9F9 #7879F9 #B878F9
triadic
#7879F9 #F97879 #79F978
tetradic
#7879F9 #F978B9 #F9F878 #78F9B8
square
#7879F9 #F978B9 #F9F878 #78F9B8
split-complementary
#7879F9 #F9B878 #B9F978
monochromatic
#0A0CEC #3D3FF6 #7879F9 #B3B3FC #E2E2FE

Accessibility & contrast

On white

3.56
#7879F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7879F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879F9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879F9#FFFFFF#000000##000000
##7879F91.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFD
Deuteranopia (green-blind)
#2483F6
Tritanopia (blue-blind)
#4096AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7879f9;
/* rgb */ color: rgb(120, 121, 249);
/* oklch */ color: oklch(63.9% 0.186 279.4);
Tailwind
colors: {
  custom: {
    50: '#a79ffc',
    500: '#7879f9',
    950: '#000000',
  },
}
SCSS
$custom: #7879f9;
$custom-light: #a79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7879f9",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 239.535,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.18632,
    "h": 279.4
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#7879F9
secondary
#F6F6D5
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7879F9

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

Preview Lab → · Contrast checker → · Palette generator →

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