#7B78EC#7B78EC

#7B78EC is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.1% C 0.170 H 281.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7B78EC
RGBrgb(123, 120, 236)
HSLhsl(242, 75%, 70%)
HSVhsv(242, 49%, 93%)
CMYKcmyk(47.9%, 49.2%, 0%, 7.5%)
CIE-LABlab(55.78, 31.09, -58.44)
CIE-LCHlch(55.78, 66.20, 298.02°)
OKLaboklab(63.11% 0.034 -0.1663)
OKLCHoklch(63.11% 0.17 281.5)
XYZxyz(30.0206, 23.6985, 82.3330)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78EC #E9EC78
analogous
#78AFEC #7B78EC #B578EC
triadic
#7B78EC #EC7B78 #78EC7B
tetradic
#7B78EC #EC78AF #E9EC78 #78ECB5
square
#7B78EC #EC78AF #E9EC78 #78ECB5
split-complementary
#7B78EC #ECB578 #AFEC78
monochromatic
#211DCD #4742E4 #7B78EC #AFAEF4 #E4E3FB

Accessibility & contrast

On white

3.66
#7B78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7B78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78EC#FFFFFF#000000##000000
##7B78EC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#3B82E9
Tritanopia (blue-blind)
#5291A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b78ec;
/* rgb */ color: rgb(123, 120, 236);
/* oklch */ color: oklch(63.1% 0.170 281.5);
Tailwind
colors: {
  custom: {
    50: '#a89ff3',
    500: '#7b78ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b78ec;
$custom-light: #a89ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78ec",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 241.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.16974,
    "h": 281.5
  },
  "luminance": 0.237
}

Semantic roles & 50–950 ramp

primary
#7B78EC
secondary
#EFF0D0
accent
#D70ED2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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