#7886F4#7886F4

#7886F4 is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.0% C 0.163 H 275.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7886F4
RGBrgb(120, 134, 244)
HSLhsl(233, 85%, 71%)
HSVhsv(233, 51%, 96%)
CMYKcmyk(50.8%, 45.1%, 0%, 4.3%)
CIE-LABlab(59.50, 24.54, -56.95)
CIE-LCHlch(59.50, 62.01, 293.31°)
OKLaboklab(66.02% 0.0157 -0.1619)
OKLCHoklch(66.02% 0.163 275.6)
XYZxyz(32.5948, 27.5729, 89.1750)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7886F4 #F4E678
analogous
#78C4F4 #7886F4 #A878F4
triadic
#7886F4 #F47886 #86F478
tetradic
#7886F4 #F478C4 #F4E678 #78F4A8
square
#7886F4 #F478C4 #F4E678 #78F4A8
split-complementary
#7886F4 #F4A878 #C4F478
monochromatic
#1229DF #3F53EF #7886F4 #B1B9F9 #E3E6FD

Accessibility & contrast

On white

3.22
#7886F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7886F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7886F4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7886F4#FFFFFF#000000##000000
##7886F41.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F8
Deuteranopia (green-blind)
#4A8AF2
Tritanopia (blue-blind)
#439EB1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7886f4;
/* rgb */ color: rgb(120, 134, 244);
/* oklch */ color: oklch(66.0% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#a6a9f8',
    500: '#7886f4',
    950: '#000000',
  },
}
SCSS
$custom: #7886f4;
$custom-light: #a6a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7886f4",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 233.226,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.16265,
    "h": 275.6
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#7886F4
secondary
#F4F0D4
accent
#C804E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7886F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7886F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva