#7B78F5#7B78F5

#7B78F5 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.7% C 0.182 H 281.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B78F5
RGBrgb(123, 120, 245)
HSLhsl(241, 86%, 72%)
HSVhsv(241, 51%, 96%)
CMYKcmyk(49.8%, 51%, 0%, 3.9%)
CIE-LABlab(56.32, 33.77, -62.58)
CIE-LCHlch(56.32, 71.11, 298.35°)
OKLaboklab(63.69% 0.0347 -0.1785)
OKLCHoklch(63.69% 0.182 281)
XYZxyz(31.3612, 24.2347, 89.3938)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78F5 #F2F578
analogous
#78B4F5 #7B78F5 #BA78F5
triadic
#7B78F5 #F57B78 #78F57B
tetradic
#7B78F5 #F578B4 #F2F578 #78F5BA
square
#7B78F5 #F578B4 #F2F578 #78F5BA
split-complementary
#7B78F5 #F5BA78 #B4F578
monochromatic
#1611E2 #433FF1 #7B78F5 #B3B1F9 #E3E3FD

Accessibility & contrast

On white

3.59
#7B78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7B78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78F5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78F5#FFFFFF#000000##000000
##7B78F51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#2D82F2
Tritanopia (blue-blind)
#4B94AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b78f5;
/* rgb */ color: rgb(123, 120, 245);
/* oklch */ color: oklch(63.7% 0.182 281.0);
Tailwind
colors: {
  custom: {
    50: '#a99ff9',
    500: '#7b78f5',
    950: '#000000',
  },
}
SCSS
$custom: #7b78f5;
$custom-light: #a99ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78f5",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 241.44,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.1818,
    "h": 281
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#7B78F5
secondary
#F4F4D4
accent
#E303DD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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