#7C78F5#7C78F5

#7C78F5 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.8% C 0.182 H 281.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C78F5
RGBrgb(124, 120, 245)
HSLhsl(242, 86%, 72%)
HSVhsv(242, 51%, 96%)
CMYKcmyk(49.4%, 51%, 0%, 3.9%)
CIE-LABlab(56.40, 33.98, -62.46)
CIE-LCHlch(56.40, 71.11, 298.55°)
OKLaboklab(63.76% 0.0358 -0.1781)
OKLCHoklch(63.76% 0.182 281.4)
XYZxyz(31.5051, 24.3089, 89.4005)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78F5 #F1F578
analogous
#78B3F5 #7C78F5 #BB78F5
triadic
#7C78F5 #F57C78 #78F57C
tetradic
#7C78F5 #F578B3 #F1F578 #78F5BB
square
#7C78F5 #F578B3 #F1F578 #78F5BB
split-complementary
#7C78F5 #F5BB78 #B3F578
monochromatic
#1711E2 #453FF1 #7C78F5 #B3B1F9 #E3E3FD

Accessibility & contrast

On white

3.58
#7C78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7C78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78F5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78F5#FFFFFF#000000##000000
##7C78F51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#2E83F2
Tritanopia (blue-blind)
#4E93AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c78f5;
/* rgb */ color: rgb(124, 120, 245);
/* oklch */ color: oklch(63.8% 0.182 281.4);
Tailwind
colors: {
  custom: {
    50: '#a99ff9',
    500: '#7c78f5',
    950: '#000000',
  },
}
SCSS
$custom: #7c78f5;
$custom-light: #a99ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78f5",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 241.92,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.18165,
    "h": 281.4
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

primary
#7C78F5
secondary
#F3F4D4
accent
#E303DC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7C78F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7C78F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva