#7A78F5#7A78F5

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

Color values

HEX#7A78F5
RGBrgb(122, 120, 245)
HSLhsl(241, 86%, 72%)
HSVhsv(241, 51%, 96%)
CMYKcmyk(50.2%, 51%, 0%, 3.9%)
CIE-LABlab(56.25, 33.56, -62.70)
CIE-LCHlch(56.25, 71.12, 298.16°)
OKLaboklab(63.62% 0.0335 -0.1789)
OKLCHoklch(63.62% 0.182 280.6)
XYZxyz(31.2189, 24.1613, 89.3871)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78F5 #F3F578
analogous
#78B5F5 #7A78F5 #B978F5
triadic
#7A78F5 #F57A78 #78F57A
tetradic
#7A78F5 #F578B5 #F3F578 #78F5B9
square
#7A78F5 #F578B5 #F3F578 #78F5B9
split-complementary
#7A78F5 #F5B978 #B5F578
monochromatic
#1411E2 #423FF1 #7A78F5 #B2B1F9 #E3E3FD

Accessibility & contrast

On white

3.60
#7A78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7A78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78F5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78F5#FFFFFF#000000##000000
##7A78F51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#2C82F2
Tritanopia (blue-blind)
#4994AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a78f5;
/* rgb */ color: rgb(122, 120, 245);
/* oklch */ color: oklch(63.6% 0.182 280.6);
Tailwind
colors: {
  custom: {
    50: '#a89ff9',
    500: '#7a78f5',
    950: '#000000',
  },
}
SCSS
$custom: #7a78f5;
$custom-light: #a89ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78f5",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 240.96,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63617,
    "c": 0.18197,
    "h": 280.6
  },
  "luminance": 0.24163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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