#7B78DC#7B78DC

#7B78DC is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.148 H 282.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7B78DC
RGBrgb(123, 120, 220)
HSLhsl(242, 59%, 67%)
HSVhsv(242, 45%, 86%)
CMYKcmyk(44.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(54.88, 26.40, -50.93)
CIE-LCHlch(54.88, 57.37, 297.39°)
OKLaboklab(62.13% 0.0322 -0.1443)
OKLCHoklch(62.13% 0.148 282.6)
XYZxyz(27.7993, 22.8100, 70.6343)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78DC #D9DC78
analogous
#78A7DC #7B78DC #AD78DC
triadic
#7B78DC #DC7B78 #78DC7B
tetradic
#7B78DC #DC78A7 #D9DC78 #78DCAD
square
#7B78DC #DC78A7 #D9DC78 #78DCAD
split-complementary
#7B78DC #DCAD78 #A7DC78
monochromatic
#312DAD #4B47CF #7B78DC #ABA9E9 #DAD9F5

Accessibility & contrast

On white

3.78
#7B78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7B78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78DC#FFFFFF#000000##000000
##7B78DC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E0
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#5C8D9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b78dc;
/* rgb */ color: rgb(123, 120, 220);
/* oklch */ color: oklch(62.1% 0.148 282.6);
Tailwind
colors: {
  custom: {
    50: '#a69fe7',
    500: '#7b78dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b78dc;
$custom-light: #a69fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78dc",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 241.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.14782,
    "h": 282.6
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

primary
#7B78DC
secondary
#E7E8C8
accent
#C61FC1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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