#7D78F8#7D78F8

#7D78F8 is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.0% C 0.185 H 281.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7D78F8
RGBrgb(125, 120, 248)
HSLhsl(242, 90%, 72%)
HSVhsv(242, 52%, 97%)
CMYKcmyk(49.6%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.65, 35.08, -63.70)
CIE-LCHlch(56.65, 72.73, 298.84°)
OKLaboklab(64.03% 0.0372 -0.1817)
OKLCHoklch(64.03% 0.185 281.6)
XYZxyz(32.1120, 24.5685, 91.8389)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D78F8 #F3F878
analogous
#78B3F8 #7D78F8 #BD78F8
triadic
#7D78F8 #F87D78 #78F87D
tetradic
#7D78F8 #F878B3 #F3F878 #78F8BD
square
#7D78F8 #F878B3 #F3F878 #78F8BD
split-complementary
#7D78F8 #F8BD78 #B3F878
monochromatic
#150CE9 #453EF5 #7D78F8 #B5B2FB #E3E2FD

Accessibility & contrast

On white

3.55
#7D78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7D78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D78F8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D78F8#FFFFFF#000000##000000
##7D78F81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#2A83F5
Tritanopia (blue-blind)
#4E94AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d78f8;
/* rgb */ color: rgb(125, 120, 248);
/* oklch */ color: oklch(64.0% 0.185 281.6);
Tailwind
colors: {
  custom: {
    50: '#aa9ffb',
    500: '#7d78f8',
    950: '#000000',
  },
}
SCSS
$custom: #7d78f8;
$custom-light: #aa9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d78f8",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 242.344,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64033,
    "c": 0.18548,
    "h": 281.6
  },
  "luminance": 0.2457
}

Semantic roles & 50–950 ramp

primary
#7D78F8
secondary
#F4F6D5
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7D78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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