#7882FB#7882FB

#7882FB is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.7% C 0.177 H 276.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7882FB
RGBrgb(120, 130, 251)
HSLhsl(235, 94%, 73%)
HSVhsv(235, 52%, 98%)
CMYKcmyk(52.2%, 48.2%, 0%, 1.6%)
CIE-LABlab(58.90, 29.05, -61.77)
CIE-LCHlch(58.90, 68.26, 295.19°)
OKLaboklab(65.69% 0.021 -0.1761)
OKLCHoklch(65.69% 0.177 276.8)
XYZxyz(33.1354, 26.9213, 94.6984)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882FB #FBF178
analogous
#78C3FB #7882FB #B078FB
triadic
#7882FB #FB7882 #82FB78
tetradic
#7882FB #FB78C3 #FBF178 #78FBB0
square
#7882FB #FB78C3 #FBF178 #78FBB0
split-complementary
#7882FB #FBB078 #C3FB78
monochromatic
#0719F1 #3D4BF9 #7882FB #B3B9FD #E1E3FE

Accessibility & contrast

On white

3.29
#7882FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7882FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882FB#FFFFFF#000000##000000
##7882FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#3989F8
Tritanopia (blue-blind)
#3D9DB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7882fb;
/* rgb */ color: rgb(120, 130, 251);
/* oklch */ color: oklch(65.7% 0.177 276.8);
Tailwind
colors: {
  custom: {
    50: '#a7a6fd',
    500: '#7882fb',
    950: '#000000',
  },
}
SCSS
$custom: #7882fb;
$custom-light: #a7a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7882fb",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 235.42,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65693,
    "c": 0.17732,
    "h": 276.8
  },
  "luminance": 0.26923
}

Semantic roles & 50–950 ramp

primary
#7882FB
secondary
#F6F4D5
accent
#D400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7882FB

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

Preview Lab → · Contrast checker → · Palette generator →

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