#7A78FA#7A78FA

#7A78FA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.189 H 280.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7A78FA
RGBrgb(122, 120, 250)
HSLhsl(241, 93%, 73%)
HSVhsv(241, 52%, 98%)
CMYKcmyk(51.2%, 52%, 0%, 2%)
CIE-LABlab(56.56, 35.07, -64.98)
CIE-LCHlch(56.56, 73.83, 298.35°)
OKLaboklab(63.94% 0.0338 -0.1855)
OKLCHoklch(63.94% 0.189 280.3)
XYZxyz(31.9925, 24.4708, 93.4615)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78FA #F8FA78
analogous
#78B7FA #7A78FA #BB78FA
triadic
#7A78FA #FA7A78 #78FA7A
tetradic
#7A78FA #FA78B7 #F8FA78 #78FABB
square
#7A78FA #FA78B7 #F8FA78 #78FABB
split-complementary
#7A78FA #FABB78 #B7FA78
monochromatic
#0C09EF #403DF8 #7A78FA #B4B3FC #E2E1FE

Accessibility & contrast

On white

3.56
#7A78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7A78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78FA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78FA#FFFFFF#000000##000000
##7A78FA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#2183F7
Tritanopia (blue-blind)
#4595AE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a78fa;
/* rgb */ color: rgb(122, 120, 250);
/* oklch */ color: oklch(63.9% 0.189 280.3);
Tailwind
colors: {
  custom: {
    50: '#a99ffd',
    500: '#7a78fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a78fa;
$custom-light: #a99ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78fa",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 240.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.1886,
    "h": 280.3
  },
  "luminance": 0.24473
}

Semantic roles & 50–950 ramp

primary
#7A78FA
secondary
#F6F6D5
accent
#E600E2
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7A78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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