#7D78BA#7D78BA

#7D78BA is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.4% C 0.099 H 286.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D78BA
RGBrgb(125, 120, 186)
HSLhsl(245, 32%, 60%)
HSVhsv(245, 35%, 73%)
CMYKcmyk(32.8%, 35.5%, 0%, 27.1%)
CIE-LABlab(53.32, 17.40, -34.06)
CIE-LCHlch(53.32, 38.25, 297.06°)
OKLaboklab(60.43% 0.0282 -0.0951)
OKLCHoklch(60.43% 0.099 286.5)
XYZxyz(24.0345, 21.3375, 49.2971)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D78BA #B5BA78
analogous
#7894BA #7D78BA #9E78BA
triadic
#7D78BA #BA7D78 #78BA7D
tetradic
#7D78BA #BA7894 #B5BA78 #78BA9E
square
#7D78BA #BA7894 #B5BA78 #78BA9E
split-complementary
#7D78BA #BA9E78 #94BA78
monochromatic
#433E7A #5953A2 #7D78BA #A4A0CF #CBC9E3

Accessibility & contrast

On white

3.99
#7D78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7D78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D78BA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D78BA#FFFFFF#000000##000000
##7D78BA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#637EB8
Tritanopia (blue-blind)
#6E8490
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d78ba;
/* rgb */ color: rgb(125, 120, 186);
/* oklch */ color: oklch(60.4% 0.099 286.5);
Tailwind
colors: {
  custom: {
    50: '#a49fcf',
    500: '#7d78ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d78ba;
$custom-light: #a49fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d78ba",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 244.545,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.60426,
    "c": 0.09917,
    "h": 286.5
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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