#7888F8#7888F8

#7888F8 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.6% C 0.166 H 274.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7888F8
RGBrgb(120, 136, 248)
HSLhsl(233, 90%, 72%)
HSVhsv(233, 52%, 97%)
CMYKcmyk(51.6%, 45.2%, 0%, 2.7%)
CIE-LABlab(60.23, 24.58, -57.99)
CIE-LCHlch(60.23, 62.99, 292.97°)
OKLaboklab(66.64% 0.0141 -0.165)
OKLCHoklch(66.64% 0.166 274.9)
XYZxyz(33.4878, 28.3765, 92.5013)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888F8 #F8E878
analogous
#78C8F8 #7888F8 #A878F8
triadic
#7888F8 #F87888 #88F878
tetradic
#7888F8 #F878C8 #F8E878 #78F8A8
square
#7888F8 #F878C8 #F8E878 #78F8A8
split-complementary
#7888F8 #F8A878 #C8F878
monochromatic
#0C28E9 #3E55F5 #7888F8 #B2BBFB #E2E5FD

Accessibility & contrast

On white

3.15
#7888F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7888F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888F8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888F8#FFFFFF#000000##000000
##7888F81.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#3FA0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7888f8;
/* rgb */ color: rgb(120, 136, 248);
/* oklch */ color: oklch(66.6% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aafb',
    500: '#7888f8',
    950: '#000000',
  },
}
SCSS
$custom: #7888f8;
$custom-light: #a7aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#7888f8",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 232.5,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66643,
    "c": 0.16555,
    "h": 274.9
  },
  "luminance": 0.28379
}

Semantic roles & 50–950 ramp

primary
#7888F8
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7888F8

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

Preview Lab → · Contrast checker → · Palette generator →

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