#7888F5#7888F5

#7888F5 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.5% C 0.161 H 274.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7888F5
RGBrgb(120, 136, 245)
HSLhsl(232, 86%, 72%)
HSVhsv(232, 51%, 96%)
CMYKcmyk(51%, 44.5%, 0%, 3.9%)
CIE-LABlab(60.06, 23.66, -56.60)
CIE-LCHlch(60.06, 61.35, 292.69°)
OKLaboklab(66.46% 0.0137 -0.1609)
OKLCHoklch(66.46% 0.161 274.8)
XYZxyz(33.0261, 28.1919, 90.0698)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888F5 #F5E578
analogous
#78C7F5 #7888F5 #A778F5
triadic
#7888F5 #F57888 #88F578
tetradic
#7888F5 #F578C7 #F5E578 #78F5A7
square
#7888F5 #F578C7 #F5E578 #78F5A7
split-complementary
#7888F5 #F5A778 #C7F578
monochromatic
#112CE2 #3F56F1 #7888F5 #B1BAF9 #E3E6FD

Accessibility & contrast

On white

3.16
#7888F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7888F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888F5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888F5#FFFFFF#000000##000000
##7888F51.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#42A0B3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7888f5;
/* rgb */ color: rgb(120, 136, 245);
/* oklch */ color: oklch(66.5% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#a6aaf9',
    500: '#7888f5',
    950: '#000000',
  },
}
SCSS
$custom: #7888f5;
$custom-light: #a6aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7888f5",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 245
  },
  "hsl": {
    "h": 232.32,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66463,
    "c": 0.16145,
    "h": 274.8
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7888F5

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

Preview Lab → · Contrast checker → · Palette generator →

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