#7878E8#7878E8

#7878E8 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.6% C 0.165 H 280.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7878E8
RGBrgb(120, 120, 232)
HSLhsl(240, 71%, 69%)
HSVhsv(240, 48%, 91%)
CMYKcmyk(48.3%, 48.3%, 0%, 9%)
CIE-LABlab(55.33, 29.24, -56.95)
CIE-LCHlch(55.33, 64.02, 297.18°)
OKLaboklab(62.64% 0.0301 -0.162)
OKLCHoklch(62.64% 0.165 280.5)
XYZxyz(29.0233, 23.2507, 79.2868)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878E8 #E8E878
analogous
#78B0E8 #7878E8 #B078E8
triadic
#7878E8 #E87878 #78E878
tetradic
#7878E8 #E878B0 #E8E878 #78E8B0
square
#7878E8 #E878B0 #E8E878 #78E8B0
split-complementary
#7878E8 #E8B078 #B0E878
monochromatic
#2121C4 #4444DF #7878E8 #ACACF1 #E1E1FA

Accessibility & contrast

On white

3.72
#7878E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7878E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878E8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878E8#FFFFFF#000000##000000
##7878E81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689EC
Deuteranopia (green-blind)
#3D80E6
Tritanopia (blue-blind)
#4E90A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7878e8;
/* rgb */ color: rgb(120, 120, 232);
/* oklch */ color: oklch(62.6% 0.165 280.5);
Tailwind
colors: {
  custom: {
    50: '#a59ff0',
    500: '#7878e8',
    950: '#000000',
  },
}
SCSS
$custom: #7878e8;
$custom-light: #a59ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7878e8",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.16478,
    "h": 280.5
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#7878E8
secondary
#EEEECD
accent
#D313D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7878E8

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

Preview Lab → · Contrast checker → · Palette generator →

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