#7A78CA#7A78CA

#7A78CA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.123 H 283.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A78CA
RGBrgb(122, 120, 202)
HSLhsl(241, 44%, 63%)
HSVhsv(241, 41%, 79%)
CMYKcmyk(39.6%, 40.6%, 0%, 20.8%)
CIE-LABlab(53.85, 20.98, -42.38)
CIE-LCHlch(53.85, 47.29, 296.34°)
OKLaboklab(61.03% 0.0281 -0.1193)
OKLCHoklch(61.03% 0.123 283.3)
XYZxyz(25.4001, 21.8338, 58.7417)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78CA #C8CA78
analogous
#789FCA #7A78CA #A378CA
triadic
#7A78CA #CA7A78 #78CA7A
tetradic
#7A78CA #CA789F #C8CA78 #78CAA3
square
#7A78CA #CA789F #C8CA78 #78CAA3
split-complementary
#7A78CA #CAA378 #9FCA78
monochromatic
#3A388F #4F4CB9 #7A78CA #A5A4DB #D1D0ED

Accessibility & contrast

On white

3.91
#7A78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78CA#FFFFFF#000000##000000
##7A78CA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#638897
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a78ca;
/* rgb */ color: rgb(122, 120, 202);
/* oklch */ color: oklch(61.0% 0.123 283.3);
Tailwind
colors: {
  custom: {
    50: '#a49fda',
    500: '#7a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a78ca;
$custom-light: #a49fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78ca",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 241.463,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.12257,
    "h": 283.3
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#7A78CA
secondary
#DDDEC0
accent
#B72FB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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