#7C78FC#7C78FC

#7C78FC is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.2% C 0.191 H 280.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7C78FC
RGBrgb(124, 120, 252)
HSLhsl(242, 96%, 73%)
HSVhsv(242, 52%, 99%)
CMYKcmyk(50.8%, 52.4%, 0%, 1.2%)
CIE-LABlab(56.83, 36.07, -65.64)
CIE-LCHlch(56.83, 74.90, 298.79°)
OKLaboklab(64.22% 0.0362 -0.1874)
OKLCHoklch(64.22% 0.191 280.9)
XYZxyz(32.5939, 24.7444, 95.1353)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C78FC #F8FC78
analogous
#78B6FC #7C78FC #BE78FC
triadic
#7C78FC #FC7C78 #78FC7C
tetradic
#7C78FC #FC78B6 #F8FC78 #78FCBE
square
#7C78FC #FC78B6 #F8FC78 #78FCBE
split-complementary
#7C78FC #FCBE78 #B6FC78
monochromatic
#0D05F4 #423CFB #7C78FC #B6B4FD #E2E1FE

Accessibility & contrast

On white

3.53
#7C78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#7C78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C78FC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C78FC#FFFFFF#000000##000000
##7C78FC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#1F84F9
Tritanopia (blue-blind)
#4895AF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c78fc;
/* rgb */ color: rgb(124, 120, 252);
/* oklch */ color: oklch(64.2% 0.191 280.9);
Tailwind
colors: {
  custom: {
    50: '#aa9ffe',
    500: '#7c78fc',
    950: '#000000',
  },
}
SCSS
$custom: #7c78fc;
$custom-light: #aa9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c78fc",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 241.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.19091,
    "h": 280.9
  },
  "luminance": 0.24746
}

Semantic roles & 50–950 ramp

primary
#7C78FC
secondary
#F6F7D4
accent
#E600DF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7C78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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