#7878FC#7878FC

#7878FC is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.192 H 279.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7878FC
RGBrgb(120, 120, 252)
HSLhsl(240, 96%, 73%)
HSVhsv(240, 52%, 99%)
CMYKcmyk(52.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(56.54, 35.27, -66.12)
CIE-LCHlch(56.54, 74.94, 298.08°)
OKLaboklab(63.93% 0.0317 -0.1889)
OKLCHoklch(63.93% 0.192 279.5)
XYZxyz(32.0274, 24.4523, 95.1087)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878FC #FCFC78
analogous
#78BAFC #7878FC #BA78FC
triadic
#7878FC #FC7878 #78FC78
tetradic
#7878FC #FC78BA #FCFC78 #78FCBA
square
#7878FC #FC78BA #FCFC78 #78FCBA
split-complementary
#7878FC #FCBA78 #BAFC78
monochromatic
#0505F4 #3C3CFB #7878FC #B4B4FD #E1E1FE

Accessibility & contrast

On white

3.56
#7878FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7878FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878FC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878FC#FFFFFF#000000##000000
##7878FC1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#1782F9
Tritanopia (blue-blind)
#3D96AF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7878fc;
/* rgb */ color: rgb(120, 120, 252);
/* oklch */ color: oklch(63.9% 0.192 279.5);
Tailwind
colors: {
  custom: {
    50: '#a89ffe',
    500: '#7878fc',
    950: '#000000',
  },
}
SCSS
$custom: #7878fc;
$custom-light: #a89ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7878fc",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 240,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.19158,
    "h": 279.5
  },
  "luminance": 0.24454
}

Semantic roles & 50–950 ramp

primary
#7878FC
secondary
#F7F7D4
accent
#E600E5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7878FC

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

Preview Lab → · Contrast checker → · Palette generator →

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