#7A78EA#7A78EA

#7A78EA is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.9% C 0.167 H 281.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7A78EA
RGBrgb(122, 120, 234)
HSLhsl(241, 73%, 69%)
HSVhsv(241, 49%, 92%)
CMYKcmyk(47.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(55.59, 30.28, -57.64)
CIE-LCHlch(55.59, 65.11, 297.72°)
OKLaboklab(62.91% 0.0326 -0.164)
OKLCHoklch(62.91% 0.167 281.2)
XYZxyz(29.5893, 23.5095, 80.8046)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78EA #E8EA78
analogous
#78AFEA #7A78EA #B378EA
triadic
#7A78EA #EA7A78 #78EA7A
tetradic
#7A78EA #EA78AF #E8EA78 #78EAB3
square
#7A78EA #EA78AF #E8EA78 #78EAB3
split-complementary
#7A78EA #EAB378 #AFEA78
monochromatic
#221FC8 #4643E2 #7A78EA #AEADF2 #E2E2FA

Accessibility & contrast

On white

3.68
#7A78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7A78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78EA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78EA#FFFFFF#000000##000000
##7A78EA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#3C81E7
Tritanopia (blue-blind)
#5190A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a78ea;
/* rgb */ color: rgb(122, 120, 234);
/* oklch */ color: oklch(62.9% 0.167 281.2);
Tailwind
colors: {
  custom: {
    50: '#a79ff1',
    500: '#7a78ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a78ea;
$custom-light: #a79ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78ea",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 241.053,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.16718,
    "h": 281.2
  },
  "luminance": 0.23511
}

Semantic roles & 50–950 ramp

primary
#7A78EA
secondary
#EFEFCE
accent
#D510D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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