#7A78F8#7A78F8

#7A78F8 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.8% C 0.186 H 280.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7A78F8
RGBrgb(122, 120, 248)
HSLhsl(241, 90%, 72%)
HSVhsv(241, 52%, 97%)
CMYKcmyk(50.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.43, 34.47, -64.07)
CIE-LCHlch(56.43, 72.75, 298.28°)
OKLaboklab(63.81% 0.0337 -0.1829)
OKLCHoklch(63.81% 0.186 280.4)
XYZxyz(31.6806, 24.3460, 91.8186)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78F8 #F6F878
analogous
#78B6F8 #7A78F8 #BA78F8
triadic
#7A78F8 #F87A78 #78F87A
tetradic
#7A78F8 #F878B6 #F6F878 #78F8BA
square
#7A78F8 #F878B6 #F6F878 #78F8BA
split-complementary
#7A78F8 #F8BA78 #B6F878
monochromatic
#100CE9 #413EF5 #7A78F8 #B3B2FB #E2E2FD

Accessibility & contrast

On white

3.58
#7A78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7A78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78F8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78F8#FFFFFF#000000##000000
##7A78F81.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#2683F5
Tritanopia (blue-blind)
#4694AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a78f8;
/* rgb */ color: rgb(122, 120, 248);
/* oklch */ color: oklch(63.8% 0.186 280.4);
Tailwind
colors: {
  custom: {
    50: '#a89ffb',
    500: '#7a78f8',
    950: '#000000',
  },
}
SCSS
$custom: #7a78f8;
$custom-light: #a89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78f8",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 240.938,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.18595,
    "h": 280.4
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#7A78F8
secondary
#F5F6D5
accent
#E600E2
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7A78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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