#7878EA#7878EA

#7878EA is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.168 H 280.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7878EA
RGBrgb(120, 120, 234)
HSLhsl(240, 73%, 69%)
HSVhsv(240, 49%, 92%)
CMYKcmyk(48.7%, 48.7%, 0%, 8.2%)
CIE-LABlab(55.45, 29.84, -57.88)
CIE-LCHlch(55.45, 65.12, 297.27°)
OKLaboklab(62.77% 0.0303 -0.1647)
OKLCHoklch(62.77% 0.168 280.4)
XYZxyz(29.3090, 23.3649, 80.7915)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878EA #EAEA78
analogous
#78B1EA #7878EA #B178EA
triadic
#7878EA #EA7878 #78EA78
tetradic
#7878EA #EA78B1 #EAEA78 #78EAB1
square
#7878EA #EA78B1 #EAEA78 #78EAB1
split-complementary
#7878EA #EAB178 #B1EA78
monochromatic
#1F1FC8 #4343E2 #7878EA #ADADF2 #E2E2FA

Accessibility & contrast

On white

3.70
#7878EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7878EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878EA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878EA#FFFFFF#000000##000000
##7878EA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#4D91A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7878ea;
/* rgb */ color: rgb(120, 120, 234);
/* oklch */ color: oklch(62.8% 0.168 280.4);
Tailwind
colors: {
  custom: {
    50: '#a69ff1',
    500: '#7878ea',
    950: '#000000',
  },
}
SCSS
$custom: #7878ea;
$custom-light: #a69ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7878ea",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62765,
    "c": 0.1675,
    "h": 280.4
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#7878EA
secondary
#EFEFCE
accent
#D510D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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