#7878DA#7878DA

#7878DA is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.145 H 281.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7878DA
RGBrgb(120, 120, 218)
HSLhsl(240, 57%, 66%)
HSVhsv(240, 45%, 85%)
CMYKcmyk(45%, 45%, 0%, 14.5%)
CIE-LABlab(54.54, 25.09, -50.36)
CIE-LCHlch(54.54, 56.26, 296.49°)
OKLaboklab(61.79% 0.0284 -0.1427)
OKLCHoklch(61.79% 0.145 281.3)
XYZxyz(27.1133, 22.4867, 69.2278)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878DA #DADA78
analogous
#78A9DA #7878DA #A978DA
triadic
#7878DA #DA7878 #78DA78
tetradic
#7878DA #DA78A9 #DADA78 #78DAA9
square
#7878DA #DA78A9 #DADA78 #78DAA9
split-complementary
#7878DA #DAA978 #A9DA78
monochromatic
#2E2EA9 #4848CD #7878DA #A8A8E7 #D8D8F4

Accessibility & contrast

On white

3.82
#7878DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7878DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878DA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878DA#FFFFFF#000000##000000
##7878DA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#578C9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7878da;
/* rgb */ color: rgb(120, 120, 218);
/* oklch */ color: oklch(61.8% 0.145 281.3);
Tailwind
colors: {
  custom: {
    50: '#a49fe6',
    500: '#7878da',
    950: '#000000',
  },
}
SCSS
$custom: #7878da;
$custom-light: #a49fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7878da",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 240,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61787,
    "c": 0.14547,
    "h": 281.3
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#7878DA
secondary
#E7E7C7
accent
#C521C5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7878DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7878DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva