#7C78F8#7C78F8

#7C78F8 is a light, vivid blue. Relative luminance 0.245; OKLCH L 64.0% C 0.186 H 281.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7C78F8
RGBrgb(124, 120, 248)
HSLhsl(242, 90%, 72%)
HSVhsv(242, 52%, 97%)
CMYKcmyk(50%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.58, 34.88, -63.83)
CIE-LCHlch(56.58, 72.73, 298.65°)
OKLaboklab(63.96% 0.036 -0.1821)
OKLCHoklch(63.96% 0.186 281.2)
XYZxyz(31.9667, 24.4936, 91.8320)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78F8 #F4F878
analogous
#78B4F8 #7C78F8 #BC78F8
triadic
#7C78F8 #F87C78 #78F87C
tetradic
#7C78F8 #F878B4 #F4F878 #78F8BC
square
#7C78F8 #F878B4 #F4F878 #78F8BC
split-complementary
#7C78F8 #F8BC78 #B4F878
monochromatic
#130CE9 #443EF5 #7C78F8 #B4B2FB #E3E2FD

Accessibility & contrast

On white

3.56
#7C78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7C78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78F8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78F8#FFFFFF#000000##000000
##7C78F81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#2883F5
Tritanopia (blue-blind)
#4B94AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c78f8;
/* rgb */ color: rgb(124, 120, 248);
/* oklch */ color: oklch(64.0% 0.186 281.2);
Tailwind
colors: {
  custom: {
    50: '#aa9ffb',
    500: '#7c78f8',
    950: '#000000',
  },
}
SCSS
$custom: #7c78f8;
$custom-light: #aa9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78f8",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 241.875,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.18563,
    "h": 281.2
  },
  "luminance": 0.24495
}

Semantic roles & 50–950 ramp

primary
#7C78F8
secondary
#F5F6D5
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7C78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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