#7882FC#7882FC

#7882FC is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.8% C 0.179 H 276.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7882FC
RGBrgb(120, 130, 252)
HSLhsl(235, 96%, 73%)
HSVhsv(235, 52%, 99%)
CMYKcmyk(52.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(58.96, 29.36, -62.22)
CIE-LCHlch(58.96, 68.80, 295.26°)
OKLaboklab(65.76% 0.0211 -0.1774)
OKLCHoklch(65.76% 0.179 276.8)
XYZxyz(33.2935, 26.9845, 95.5307)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7882FC #FCF278
analogous
#78C4FC #7882FC #B078FC
triadic
#7882FC #FC7882 #82FC78
tetradic
#7882FC #FC78C4 #FCF278 #78FCB0
square
#7882FC #FC78C4 #FCF278 #78FCB0
split-complementary
#7882FC #FCB078 #C4FC78
monochromatic
#0518F4 #3C4BFB #7882FC #B4B9FD #E1E3FE

Accessibility & contrast

On white

3.28
#7882FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7882FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7882FC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7882FC#FFFFFF#000000##000000
##7882FC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#3889F9
Tritanopia (blue-blind)
#3C9DB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7882fc;
/* rgb */ color: rgb(120, 130, 252);
/* oklch */ color: oklch(65.8% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#a7a6fe',
    500: '#7882fc',
    950: '#000000',
  },
}
SCSS
$custom: #7882fc;
$custom-light: #a7a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7882fc",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 235.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65756,
    "c": 0.17867,
    "h": 276.8
  },
  "luminance": 0.26987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7882FC

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

Preview Lab → · Contrast checker → · Palette generator →

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