#7888F2#7888F2

#7888F2 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.3% C 0.157 H 274.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7888F2
RGBrgb(120, 136, 242)
HSLhsl(232, 82%, 71%)
HSVhsv(232, 50%, 95%)
CMYKcmyk(50.4%, 43.8%, 0%, 5.1%)
CIE-LABlab(59.90, 22.75, -55.21)
CIE-LCHlch(59.90, 59.71, 292.39°)
OKLaboklab(66.29% 0.0132 -0.1568)
OKLCHoklch(66.29% 0.157 274.8)
XYZxyz(32.5718, 28.0102, 87.6774)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888F2 #F2E278
analogous
#78C5F2 #7888F2 #A578F2
triadic
#7888F2 #F27888 #88F278
tetradic
#7888F2 #F278C5 #F2E278 #78F2A5
square
#7888F2 #F278C5 #F2E278 #78F2A5
split-complementary
#7888F2 #F2A578 #C5F278
monochromatic
#152FDB #4057ED #7888F2 #B0B9F7 #E3E6FC

Accessibility & contrast

On white

3.18
#7888F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7888F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888F2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888F2#FFFFFF#000000##000000
##7888F21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#449FB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7888f2;
/* rgb */ color: rgb(120, 136, 242);
/* oklch */ color: oklch(66.3% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#a6aaf7',
    500: '#7888f2',
    950: '#000000',
  },
}
SCSS
$custom: #7888f2;
$custom-light: #a6aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7888f2",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 232.131,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.15734,
    "h": 274.8
  },
  "luminance": 0.28012
}

Semantic roles & 50–950 ramp

primary
#7888F2
secondary
#F3EFD3
accent
#C207DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7888F2

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

Preview Lab → · Contrast checker → · Palette generator →

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