#7C78FA#7C78FA

#7C78FA is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.1% C 0.188 H 281.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7C78FA
RGBrgb(124, 120, 250)
HSLhsl(242, 93%, 73%)
HSVhsv(242, 52%, 98%)
CMYKcmyk(50.4%, 52%, 0%, 2%)
CIE-LABlab(56.70, 35.47, -64.73)
CIE-LCHlch(56.70, 73.82, 298.72°)
OKLaboklab(64.09% 0.0361 -0.1848)
OKLCHoklch(64.09% 0.188 281.1)
XYZxyz(32.2787, 24.6183, 93.4749)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78FA #F6FA78
analogous
#78B5FA #7C78FA #BD78FA
triadic
#7C78FA #FA7C78 #78FA7C
tetradic
#7C78FA #FA78B5 #F6FA78 #78FABD
square
#7C78FA #FA78B5 #F6FA78 #78FABD
split-complementary
#7C78FA #FABD78 #B5FA78
monochromatic
#1009EF #433DF8 #7C78FA #B5B3FC #E2E1FE

Accessibility & contrast

On white

3.54
#7C78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7C78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78FA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78FA#FFFFFF#000000##000000
##7C78FA1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#2483F7
Tritanopia (blue-blind)
#4A95AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c78fa;
/* rgb */ color: rgb(124, 120, 250);
/* oklch */ color: oklch(64.1% 0.188 281.1);
Tailwind
colors: {
  custom: {
    50: '#aa9ffd',
    500: '#7c78fa',
    950: '#000000',
  },
}
SCSS
$custom: #7c78fa;
$custom-light: #aa9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78fa",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 241.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64091,
    "c": 0.18828,
    "h": 281.1
  },
  "luminance": 0.2462
}

Semantic roles & 50–950 ramp

primary
#7C78FA
secondary
#F5F6D5
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7C78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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