#7A78EE#7A78EE

#7A78EE is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.2% C 0.173 H 281.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7A78EE
RGBrgb(122, 120, 238)
HSLhsl(241, 78%, 70%)
HSVhsv(241, 50%, 93%)
CMYKcmyk(48.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(55.83, 31.47, -59.49)
CIE-LCHlch(55.83, 67.30, 297.88°)
OKLaboklab(63.17% 0.033 -0.1694)
OKLCHoklch(63.17% 0.173 281)
XYZxyz(30.1704, 23.7419, 83.8652)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78EE #ECEE78
analogous
#78B1EE #7A78EE #B578EE
triadic
#7A78EE #EE7A78 #78EE7A
tetradic
#7A78EE #EE78B1 #ECEE78 #78EEB5
square
#7A78EE #EE78B1 #ECEE78 #78EEB5
split-complementary
#7A78EE #EEB578 #B1EE78
monochromatic
#1D1AD1 #4442E7 #7A78EE #B0AEF5 #E4E4FC

Accessibility & contrast

On white

3.65
#7A78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7A78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78EE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78EE#FFFFFF#000000##000000
##7A78EE1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#3781EB
Tritanopia (blue-blind)
#4E92A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a78ee;
/* rgb */ color: rgb(122, 120, 238);
/* oklch */ color: oklch(63.2% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#a79ff4',
    500: '#7a78ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a78ee;
$custom-light: #a79ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78ee",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 241.017,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.17259,
    "h": 281
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#7A78EE
secondary
#F1F1D1
accent
#DA0CD6
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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