#7882EA#7882EA

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

Color values

HEX#7882EA
RGBrgb(120, 130, 234)
HSLhsl(235, 73%, 69%)
HSVhsv(235, 49%, 92%)
CMYKcmyk(48.7%, 44.4%, 0%, 8.2%)
CIE-LABlab(57.94, 23.89, -53.90)
CIE-LCHlch(57.94, 58.95, 293.91°)
OKLaboklab(64.65% 0.0189 -0.153)
OKLCHoklch(64.65% 0.154 277)
XYZxyz(30.5750, 25.8971, 81.2135)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882EA #EAE078
analogous
#78BBEA #7882EA #A778EA
triadic
#7882EA #EA7882 #82EA78
tetradic
#7882EA #EA78BB #EAE078 #78EAA7
square
#7882EA #EA78BB #EAE078 #78EAA7
split-complementary
#7882EA #EAA778 #BBEA78
monochromatic
#1F2EC8 #4351E2 #7882EA #ADB3F2 #E2E4FA

Accessibility & contrast

On white

3.40
#7882EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7882EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882EA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882EA#FFFFFF#000000##000000
##7882EA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#4C98AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7882ea;
/* rgb */ color: rgb(120, 130, 234);
/* oklch */ color: oklch(64.7% 0.154 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a6f1',
    500: '#7882ea',
    950: '#000000',
  },
}
SCSS
$custom: #7882ea;
$custom-light: #a5a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7882ea",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 234.737,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64653,
    "c": 0.15414,
    "h": 277
  },
  "luminance": 0.25899
}

Semantic roles & 50–950 ramp

primary
#7882EA
secondary
#EFECCE
accent
#C410D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7882EA

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

Preview Lab → · Contrast checker → · Palette generator →

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