#7F78B3#7F78B3

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

Color values

HEX#7F78B3
RGBrgb(127, 120, 179)
HSLhsl(247, 28%, 59%)
HSVhsv(247, 33%, 70%)
CMYKcmyk(29.1%, 33%, 0%, 29.8%)
CIE-LABlab(53.17, 16.15, -30.26)
CIE-LCHlch(53.17, 34.30, 298.09°)
OKLaboklab(60.25% 0.0287 -0.0841)
OKLCHoklch(60.25% 0.089 288.9)
XYZxyz(23.6035, 21.1992, 45.4874)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F78B3 #ACB378
analogous
#788EB3 #7F78B3 #9C78B3
triadic
#7F78B3 #B37F78 #78B37F
tetradic
#7F78B3 #B3788E #ACB378 #78B39C
square
#7F78B3 #B3788E #ACB378 #78B39C
split-complementary
#7F78B3 #B39C78 #8EB378
monochromatic
#454071 #5E5698 #7F78B3 #A49FC9 #C9C6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F78B3#FFFFFF#000000##000000
##7F78B31.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)
#6880B5
Deuteranopia (green-blind)
#677EB1
Tritanopia (blue-blind)
#73828D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f78b3;
/* rgb */ color: rgb(127, 120, 179);
/* oklch */ color: oklch(60.2% 0.089 288.9);
Tailwind
colors: {
  custom: {
    50: '#a59fca',
    500: '#7f78b3',
    950: '#000000',
  },
}
SCSS
$custom: #7f78b3;
$custom-light: #a59fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f78b3",
  "rgb": {
    "r": 127,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 247.119,
    "s": 27.962,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60247,
    "c": 0.08886,
    "h": 288.9
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#7F78B3
secondary
#CCCFB8
accent
#C464B9
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7F78B3

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

Preview Lab → · Contrast checker → · Palette generator →

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