#7B78EB#7B78EB

#7B78EB is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.1% C 0.168 H 281.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B78EB
RGBrgb(123, 120, 235)
HSLhsl(242, 74%, 70%)
HSVhsv(242, 49%, 92%)
CMYKcmyk(47.7%, 48.9%, 0%, 7.8%)
CIE-LABlab(55.73, 30.80, -57.98)
CIE-LCHlch(55.73, 65.65, 297.98°)
OKLaboklab(63.05% 0.0339 -0.165)
OKLCHoklch(63.05% 0.168 281.6)
XYZxyz(29.8757, 23.6405, 81.5700)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78EB #E8EB78
analogous
#78AFEB #7B78EB #B478EB
triadic
#7B78EB #EB7B78 #78EB7B
tetradic
#7B78EB #EB78AF #E8EB78 #78EBB4
square
#7B78EB #EB78AF #E8EB78 #78EBB4
split-complementary
#7B78EB #EBB478 #AFEB78
monochromatic
#231ECB #4743E3 #7B78EB #AFADF3 #E3E3FB

Accessibility & contrast

On white

3.67
#7B78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7B78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78EB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78EB#FFFFFF#000000##000000
##7B78EB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#5391A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b78eb;
/* rgb */ color: rgb(123, 120, 235);
/* oklch */ color: oklch(63.1% 0.168 281.6);
Tailwind
colors: {
  custom: {
    50: '#a89ff2',
    500: '#7b78eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b78eb;
$custom-light: #a89ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78eb",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 241.565,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63051,
    "c": 0.16839,
    "h": 281.6
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#7B78EB
secondary
#EFF0CF
accent
#D60FD1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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