#7B78BA#7B78BA

#7B78BA is a mid, moderate blue. Relative luminance 0.212; OKLCH L 60.3% C 0.099 H 285.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7B78BA
RGBrgb(123, 120, 186)
HSLhsl(243, 32%, 60%)
HSVhsv(243, 35%, 73%)
CMYKcmyk(33.9%, 35.5%, 0%, 27.1%)
CIE-LABlab(53.16, 16.83, -34.33)
CIE-LCHlch(53.16, 38.23, 296.11°)
OKLaboklab(60.26% 0.0258 -0.0959)
OKLCHoklch(60.26% 0.099 285.1)
XYZxyz(23.7454, 21.1884, 49.2835)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B78BA #B7BA78
analogous
#7896BA #7B78BA #9C78BA
triadic
#7B78BA #BA7B78 #78BA7B
tetradic
#7B78BA #BA7896 #B7BA78 #78BA9C
square
#7B78BA #BA7896 #B7BA78 #78BA9C
split-complementary
#7B78BA #BA9C78 #96BA78
monochromatic
#413E7A #5653A2 #7B78BA #A3A0CF #CAC9E3

Accessibility & contrast

On white

4.01
#7B78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7B78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B78BA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B78BA#FFFFFF#000000##000000
##7B78BA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b78ba;
/* rgb */ color: rgb(123, 120, 186);
/* oklch */ color: oklch(60.3% 0.099 285.1);
Tailwind
colors: {
  custom: {
    50: '#a39fcf',
    500: '#7b78ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b78ba;
$custom-light: #a39fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b78ba",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 242.727,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.09931,
    "h": 285.1
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#7B78BA
secondary
#D2D4BA
accent
#C95FC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7B78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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