#7882EC#7882EC

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

Color values

HEX#7882EC
RGBrgb(120, 130, 236)
HSLhsl(235, 75%, 70%)
HSVhsv(235, 49%, 93%)
CMYKcmyk(49.2%, 44.9%, 0%, 7.5%)
CIE-LABlab(58.05, 24.49, -54.83)
CIE-LCHlch(58.05, 60.06, 294.07°)
OKLaboklab(64.77% 0.0192 -0.1557)
OKLCHoklch(64.77% 0.157 277)
XYZxyz(30.8640, 26.0127, 82.7352)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882EC #ECE278
analogous
#78BCEC #7882EC #A878EC
triadic
#7882EC #EC7882 #82EC78
tetradic
#7882EC #EC78BC #ECE278 #78ECA8
square
#7882EC #EC78BC #ECE278 #78ECA8
split-complementary
#7882EC #ECA878 #BCEC78
monochromatic
#1D2CCD #4250E4 #7882EC #AEB4F4 #E3E5FB

Accessibility & contrast

On white

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

On black

6.20
#7882EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882EC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882EC#FFFFFF#000000##000000
##7882EC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#4B87EA
Tritanopia (blue-blind)
#4A99AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7882ec;
/* rgb */ color: rgb(120, 130, 236);
/* oklch */ color: oklch(64.8% 0.157 277.0);
Tailwind
colors: {
  custom: {
    50: '#a5a6f3',
    500: '#7882ec',
    950: '#000000',
  },
}
SCSS
$custom: #7882ec;
$custom-light: #a5a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7882ec",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 234.828,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.15689,
    "h": 277
  },
  "luminance": 0.26014
}

Semantic roles & 50–950 ramp

primary
#7882EC
secondary
#F0EDD0
accent
#C60ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7882EC

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

Preview Lab → · Contrast checker → · Palette generator →

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