#7A78BA#7A78BA

#7A78BA is a mid, moderate blue. Relative luminance 0.211; OKLCH L 60.2% C 0.099 H 284.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A78BA
RGBrgb(122, 120, 186)
HSLhsl(242, 32%, 60%)
HSVhsv(242, 35%, 73%)
CMYKcmyk(34.4%, 35.5%, 0%, 27.1%)
CIE-LABlab(53.08, 16.54, -34.46)
CIE-LCHlch(53.08, 38.22, 295.64°)
OKLaboklab(60.18% 0.0247 -0.0963)
OKLCHoklch(60.18% 0.099 284.4)
XYZxyz(23.6030, 21.1150, 49.2769)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A78BA #B8BA78
analogous
#7897BA #7A78BA #9B78BA
triadic
#7A78BA #BA7A78 #78BA7A
tetradic
#7A78BA #BA7897 #B8BA78 #78BA9B
square
#7A78BA #BA7897 #B8BA78 #78BA9B
split-complementary
#7A78BA #BA9B78 #97BA78
monochromatic
#403E7A #5553A2 #7A78BA #A2A0CF #CAC9E3

Accessibility & contrast

On white

4.02
#7A78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7A78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A78BA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A78BA#FFFFFF#000000##000000
##7A78BA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#698490
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a78ba;
/* rgb */ color: rgb(122, 120, 186);
/* oklch */ color: oklch(60.2% 0.099 284.4);
Tailwind
colors: {
  custom: {
    50: '#a29ecf',
    500: '#7a78ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a78ba;
$custom-light: #a29ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a78ba",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 241.818,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.09941,
    "h": 284.4
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#7A78BA
secondary
#D3D4BA
accent
#C95FC5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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