#7882F8#7882F8

#7882F8 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.5% C 0.173 H 276.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7882F8
RGBrgb(120, 130, 248)
HSLhsl(235, 90%, 72%)
HSVhsv(235, 52%, 97%)
CMYKcmyk(51.6%, 47.6%, 0%, 2.7%)
CIE-LABlab(58.73, 28.13, -60.39)
CIE-LCHlch(58.73, 66.63, 294.98°)
OKLaboklab(65.51% 0.0207 -0.172)
OKLCHoklch(65.51% 0.173 276.8)
XYZxyz(32.6663, 26.7336, 92.2275)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882F8 #F8EE78
analogous
#78C2F8 #7882F8 #AE78F8
triadic
#7882F8 #F87882 #82F878
tetradic
#7882F8 #F878C2 #F8EE78 #78F8AE
square
#7882F8 #F878C2 #F8EE78 #78F8AE
split-complementary
#7882F8 #F8AE78 #C2F878
monochromatic
#0C1DE9 #3E4CF5 #7882F8 #B2B8FB #E2E4FD

Accessibility & contrast

On white

3.31
#7882F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7882F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882F8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882F8#FFFFFF#000000##000000
##7882F81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FC
Deuteranopia (green-blind)
#3D88F5
Tritanopia (blue-blind)
#409CB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7882f8;
/* rgb */ color: rgb(120, 130, 248);
/* oklch */ color: oklch(65.5% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#a7a6fb',
    500: '#7882f8',
    950: '#000000',
  },
}
SCSS
$custom: #7882f8;
$custom-light: #a7a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7882f8",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 235.313,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.17327,
    "h": 276.8
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#7882F8
secondary
#F6F3D5
accent
#D400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7882F8

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

Preview Lab → · Contrast checker → · Palette generator →

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