#7E78DC#7E78DC

#7E78DC is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.4% C 0.147 H 284.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E78DC
RGBrgb(126, 120, 220)
HSLhsl(244, 59%, 67%)
HSVhsv(244, 45%, 86%)
CMYKcmyk(42.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(55.11, 27.12, -50.55)
CIE-LCHlch(55.11, 57.37, 298.21°)
OKLaboklab(62.37% 0.0356 -0.1431)
OKLCHoklch(62.37% 0.147 284)
XYZxyz(28.2352, 23.0347, 70.6547)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E78DC #D6DC78
analogous
#78A4DC #7E78DC #B078DC
triadic
#7E78DC #DC7E78 #78DC7E
tetradic
#7E78DC #DC78A4 #D6DC78 #78DCB0
square
#7E78DC #DC78A4 #D6DC78 #78DCB0
split-complementary
#7E78DC #DCB078 #A4DC78
monochromatic
#342DAD #5047CF #7E78DC #ACA9E9 #DBD9F5

Accessibility & contrast

On white

3.75
#7E78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#7E78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E78DC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E78DC#FFFFFF#000000##000000
##7E78DC1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#4D81DA
Tritanopia (blue-blind)
#618C9F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e78dc;
/* rgb */ color: rgb(126, 120, 220);
/* oklch */ color: oklch(62.4% 0.147 284.0);
Tailwind
colors: {
  custom: {
    50: '#a89fe7',
    500: '#7e78dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e78dc;
$custom-light: #a89fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e78dc",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 243.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.14745,
    "h": 284
  },
  "luminance": 0.23036
}

Semantic roles & 50–950 ramp

primary
#7E78DC
secondary
#E6E8C8
accent
#C61FBC
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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