#7882E7#7882E7

#7882E7 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.5% C 0.150 H 277.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7882E7
RGBrgb(120, 130, 231)
HSLhsl(235, 70%, 69%)
HSVhsv(235, 48%, 91%)
CMYKcmyk(48.1%, 43.7%, 0%, 9.4%)
CIE-LABlab(57.78, 22.99, -52.49)
CIE-LCHlch(57.78, 57.30, 293.65°)
OKLaboklab(64.48% 0.0184 -0.1488)
OKLCHoklch(64.48% 0.15 277.1)
XYZxyz(30.1477, 25.7262, 78.9629)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882E7 #E7DD78
analogous
#78BAE7 #7882E7 #A678E7
triadic
#7882E7 #E77882 #82E778
tetradic
#7882E7 #E778BA #E7DD78 #78E7A6
square
#7882E7 #E778BA #E7DD78 #78E7A6
split-complementary
#7882E7 #E7A678 #BAE778
monochromatic
#2331C2 #4452DE #7882E7 #ACB2F0 #E0E2F9

Accessibility & contrast

On white

3.42
#7882E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7882E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882E7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882E7#FFFFFF#000000##000000
##7882E71.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#4F87E5
Tritanopia (blue-blind)
#4E97A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7882e7;
/* rgb */ color: rgb(120, 130, 231);
/* oklch */ color: oklch(64.5% 0.150 277.1);
Tailwind
colors: {
  custom: {
    50: '#a5a6ef',
    500: '#7882e7',
    950: '#000000',
  },
}
SCSS
$custom: #7882e7;
$custom-light: #a5a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7882e7",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 231
  },
  "hsl": {
    "h": 234.595,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64476,
    "c": 0.14998,
    "h": 277.1
  },
  "luminance": 0.25728
}

Semantic roles & 50–950 ramp

primary
#7882E7
secondary
#EEEBCD
accent
#C114D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7882E7

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

Preview Lab → · Contrast checker → · Palette generator →

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