#7882EB#7882EB

#7882EB is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.7% C 0.156 H 277.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7882EB
RGBrgb(120, 130, 235)
HSLhsl(235, 74%, 70%)
HSVhsv(235, 49%, 92%)
CMYKcmyk(48.9%, 44.7%, 0%, 7.8%)
CIE-LABlab(57.99, 24.19, -54.37)
CIE-LCHlch(57.99, 59.51, 293.99°)
OKLaboklab(64.71% 0.019 -0.1543)
OKLCHoklch(64.71% 0.156 277)
XYZxyz(30.7191, 25.9547, 81.9722)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882EB #EBE178
analogous
#78BBEB #7882EB #A878EB
triadic
#7882EB #EB7882 #82EB78
tetradic
#7882EB #EB78BB #EBE178 #78EBA8
square
#7882EB #EB78BB #EBE178 #78EBA8
split-complementary
#7882EB #EBA878 #BBEB78
monochromatic
#1E2DCB #4351E3 #7882EB #ADB3F3 #E3E5FB

Accessibility & contrast

On white

3.39
#7882EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7882EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882EB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882EB#FFFFFF#000000##000000
##7882EB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#4B98AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7882eb;
/* rgb */ color: rgb(120, 130, 235);
/* oklch */ color: oklch(64.7% 0.156 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a6f2',
    500: '#7882eb',
    950: '#000000',
  },
}
SCSS
$custom: #7882eb;
$custom-light: #a5a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7882eb",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 234.783,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.15552,
    "h": 277
  },
  "luminance": 0.25956
}

Semantic roles & 50–950 ramp

primary
#7882EB
secondary
#F0EDCF
accent
#C50FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7882EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7882EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva