#7888F4#7888F4

#7888F4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.160 H 274.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7888F4
RGBrgb(120, 136, 244)
HSLhsl(232, 85%, 71%)
HSVhsv(232, 51%, 96%)
CMYKcmyk(50.8%, 44.3%, 0%, 4.3%)
CIE-LABlab(60.01, 23.36, -56.14)
CIE-LCHlch(60.01, 60.81, 292.59°)
OKLaboklab(66.4% 0.0135 -0.1595)
OKLCHoklch(66.4% 0.16 274.8)
XYZxyz(32.8738, 28.1310, 89.2680)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888F4 #F4E478
analogous
#78C6F4 #7888F4 #A678F4
triadic
#7888F4 #F47888 #88F478
tetradic
#7888F4 #F478C6 #F4E478 #78F4A6
square
#7888F4 #F478C6 #F4E478 #78F4A6
split-complementary
#7888F4 #F4A678 #C6F478
monochromatic
#122DDF #3F56EF #7888F4 #B1BAF9 #E3E6FD

Accessibility & contrast

On white

3.17
#7888F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7888F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888F4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888F4#FFFFFF#000000##000000
##7888F41.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#429FB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7888f4;
/* rgb */ color: rgb(120, 136, 244);
/* oklch */ color: oklch(66.4% 0.160 274.8);
Tailwind
colors: {
  custom: {
    50: '#a6aaf8',
    500: '#7888f4',
    950: '#000000',
  },
}
SCSS
$custom: #7888f4;
$custom-light: #a6aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#7888f4",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 244
  },
  "hsl": {
    "h": 232.258,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.16008,
    "h": 274.8
  },
  "luminance": 0.28133
}

Semantic roles & 50–950 ramp

primary
#7888F4
secondary
#F4F0D4
accent
#C504E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7888F4

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

Preview Lab → · Contrast checker → · Palette generator →

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