#7878CA#7878CA

#7878CA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.123 H 282.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7878CA
RGBrgb(120, 120, 202)
HSLhsl(240, 44%, 63%)
HSVhsv(240, 41%, 79%)
CMYKcmyk(40.6%, 40.6%, 0%, 20.8%)
CIE-LABlab(53.70, 20.46, -42.64)
CIE-LCHlch(53.70, 47.29, 295.63°)
OKLaboklab(60.87% 0.0258 -0.1201)
OKLCHoklch(60.87% 0.123 282.1)
XYZxyz(25.1198, 21.6893, 58.7286)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878CA #CACA78
analogous
#78A1CA #7878CA #A178CA
triadic
#7878CA #CA7878 #78CA78
tetradic
#7878CA #CA78A1 #CACA78 #78CAA1
square
#7878CA #CA78A1 #CACA78 #78CAA1
split-complementary
#7878CA #CAA178 #A1CA78
monochromatic
#38388F #4C4CB9 #7878CA #A4A4DB #D0D0ED

Accessibility & contrast

On white

3.93
#7878CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7878CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878CA#FFFFFF#000000##000000
##7878CA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#577EC8
Tritanopia (blue-blind)
#608897
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7878ca;
/* rgb */ color: rgb(120, 120, 202);
/* oklch */ color: oklch(60.9% 0.123 282.1);
Tailwind
colors: {
  custom: {
    50: '#a29eda',
    500: '#7878ca',
    950: '#000000',
  },
}
SCSS
$custom: #7878ca;
$custom-light: #a29eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7878ca",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.12283,
    "h": 282.1
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#7878CA
secondary
#DEDEC0
accent
#B72FB7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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