#7880F2#7880F2

#7880F2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.168 H 277.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7880F2
RGBrgb(120, 128, 242)
HSLhsl(236, 82%, 71%)
HSVhsv(236, 50%, 95%)
CMYKcmyk(50.4%, 47.1%, 0%, 5.1%)
CIE-LABlab(57.89, 27.50, -58.42)
CIE-LCHlch(57.89, 64.57, 295.20°)
OKLaboklab(64.76% 0.0222 -0.1663)
OKLCHoklch(64.76% 0.168 277.6)
XYZxyz(31.4869, 25.8403, 87.3157)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7880F2 #F2EA78
analogous
#78BDF2 #7880F2 #AD78F2
triadic
#7880F2 #F27880 #80F278
tetradic
#7880F2 #F278BD #F2EA78 #78F2AD
square
#7880F2 #F278BD #F2EA78 #78F2AD
split-complementary
#7880F2 #F2AD78 #BDF278
monochromatic
#1522DB #404BED #7880F2 #B0B5F7 #E3E5FC

Accessibility & contrast

On white

3.40
#7880F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7880F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7880F2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7880F2#FFFFFF#000000##000000
##7880F21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4186F0
Tritanopia (blue-blind)
#4699AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7880f2;
/* rgb */ color: rgb(120, 128, 242);
/* oklch */ color: oklch(64.8% 0.168 277.6);
Tailwind
colors: {
  custom: {
    50: '#a6a4f7',
    500: '#7880f2',
    950: '#000000',
  },
}
SCSS
$custom: #7880f2;
$custom-light: #a6a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7880f2",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 236.066,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64757,
    "c": 0.16774,
    "h": 277.6
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#7880F2
secondary
#F3F1D3
accent
#D107DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7880F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7880F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva