#7878F9#7878F9

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

Color values

HEX#7878F9
RGBrgb(120, 120, 249)
HSLhsl(240, 91%, 72%)
HSVhsv(240, 52%, 98%)
CMYKcmyk(51.8%, 51.8%, 0%, 2.4%)
CIE-LABlab(56.35, 34.36, -64.76)
CIE-LCHlch(56.35, 73.31, 297.95°)
OKLaboklab(63.74% 0.0315 -0.185)
OKLCHoklch(63.74% 0.188 279.7)
XYZxyz(31.5558, 24.2637, 92.6247)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878F9 #F9F978
analogous
#78B9F9 #7878F9 #B978F9
triadic
#7878F9 #F97878 #78F978
tetradic
#7878F9 #F978B9 #F9F978 #78F9B9
square
#7878F9 #F978B9 #F9F978 #78F9B9
split-complementary
#7878F9 #F9B978 #B9F978
monochromatic
#0A0AEC #3D3DF6 #7878F9 #B3B3FC #E2E2FE

Accessibility & contrast

On white

3.59
#7878F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7878F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878F9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878F9#FFFFFF#000000##000000
##7878F91.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)
#328CFE
Deuteranopia (green-blind)
#2082F6
Tritanopia (blue-blind)
#4095AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7878f9;
/* rgb */ color: rgb(120, 120, 249);
/* oklch */ color: oklch(63.7% 0.188 279.7);
Tailwind
colors: {
  custom: {
    50: '#a79ffc',
    500: '#7878f9',
    950: '#000000',
  },
}
SCSS
$custom: #7878f9;
$custom-light: #a79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7878f9",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 240,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.18762,
    "h": 279.7
  },
  "luminance": 0.24266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7878F9

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

Preview Lab → · Contrast checker → · Palette generator →

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