#7878FA#7878FA

#7878FA is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.8% C 0.189 H 279.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7878FA
RGBrgb(120, 120, 250)
HSLhsl(240, 93%, 73%)
HSVhsv(240, 52%, 98%)
CMYKcmyk(52%, 52%, 0%, 2%)
CIE-LABlab(56.41, 34.66, -65.21)
CIE-LCHlch(56.41, 73.86, 297.99°)
OKLaboklab(63.8% 0.0316 -0.1863)
OKLCHoklch(63.8% 0.189 279.6)
XYZxyz(31.7122, 24.3262, 93.4483)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878FA #FAFA78
analogous
#78B9FA #7878FA #B978FA
triadic
#7878FA #FA7878 #78FA78
tetradic
#7878FA #FA78B9 #FAFA78 #78FAB9
square
#7878FA #FA78B9 #FAFA78 #78FAB9
split-complementary
#7878FA #FAB978 #B9FA78
monochromatic
#0909EF #3D3DF8 #7878FA #B3B3FC #E1E1FE

Accessibility & contrast

On white

3.58
#7878FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7878FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878FA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878FA#FFFFFF#000000##000000
##7878FA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318CFF
Deuteranopia (green-blind)
#1E82F7
Tritanopia (blue-blind)
#4095AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7878fa;
/* rgb */ color: rgb(120, 120, 250);
/* oklch */ color: oklch(63.8% 0.189 279.6);
Tailwind
colors: {
  custom: {
    50: '#a89ffd',
    500: '#7878fa',
    950: '#000000',
  },
}
SCSS
$custom: #7878fa;
$custom-light: #a89ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7878fa",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63802,
    "c": 0.18894,
    "h": 279.6
  },
  "luminance": 0.24328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7878FA

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

Preview Lab → · Contrast checker → · Palette generator →

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