#7878F8#7878F8

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

Color values

HEX#7878F8
RGBrgb(120, 120, 248)
HSLhsl(240, 90%, 72%)
HSVhsv(240, 52%, 97%)
CMYKcmyk(51.6%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.29, 34.06, -64.31)
CIE-LCHlch(56.29, 72.77, 297.91°)
OKLaboklab(63.67% 0.0314 -0.1836)
OKLCHoklch(63.67% 0.186 279.7)
XYZxyz(31.4002, 24.2014, 91.8055)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878F8 #F8F878
analogous
#78B8F8 #7878F8 #B878F8
triadic
#7878F8 #F87878 #78F878
tetradic
#7878F8 #F878B8 #F8F878 #78F8B8
square
#7878F8 #F878B8 #F8F878 #78F8B8
split-complementary
#7878F8 #F8B878 #B8F878
monochromatic
#0C0CE9 #3E3EF5 #7878F8 #B2B2FB #E2E2FD

Accessibility & contrast

On white

3.60
#7878F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7878F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878F8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878F8#FFFFFF#000000##000000
##7878F81.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#2382F5
Tritanopia (blue-blind)
#4195AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7878f8;
/* rgb */ color: rgb(120, 120, 248);
/* oklch */ color: oklch(63.7% 0.186 279.7);
Tailwind
colors: {
  custom: {
    50: '#a79ffb',
    500: '#7878f8',
    950: '#000000',
  },
}
SCSS
$custom: #7878f8;
$custom-light: #a79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7878f8",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63669,
    "c": 0.1863,
    "h": 279.7
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#7878F8
secondary
#F6F6D5
accent
#E600E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7878F8

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

Preview Lab → · Contrast checker → · Palette generator →

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