#7888FE#7888FE

#7888FE is a light, vivid blue. Relative luminance 0.288; OKLCH L 67.0% C 0.174 H 274.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7888FE
RGBrgb(120, 136, 254)
HSLhsl(233, 99%, 73%)
HSVhsv(233, 53%, 100%)
CMYKcmyk(52.8%, 46.5%, 0%, 0.4%)
CIE-LABlab(60.56, 26.42, -60.75)
CIE-LCHlch(60.56, 66.25, 293.50°)
OKLaboklab(67.01% 0.0149 -0.173)
OKLCHoklch(67.01% 0.174 274.9)
XYZxyz(34.4336, 28.7549, 97.4825)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7888FE #FEEE78
analogous
#78CBFE #7888FE #AB78FE
triadic
#7888FE #FE7888 #88FE78
tetradic
#7888FE #FE78CB #FEEE78 #78FEAB
square
#7888FE #FE78CB #FEEE78 #78FEAB
split-complementary
#7888FE #FEAB78 #CBFE78
monochromatic
#021FFA #3B52FE #7888FE #B5BEFE #E1E4FF

Accessibility & contrast

On white

3.11
#7888FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7888FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7888FE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7888FE#FFFFFF#000000##000000
##7888FE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#428DFB
Tritanopia (blue-blind)
#38A2B7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7888fe;
/* rgb */ color: rgb(120, 136, 254);
/* oklch */ color: oklch(67.0% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#a7aaff',
    500: '#7888fe',
    950: '#000000',
  },
}
SCSS
$custom: #7888fe;
$custom-light: #a7aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#7888fe",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 232.836,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.17369,
    "h": 274.9
  },
  "luminance": 0.28757
}

Semantic roles & 50–950 ramp

primary
#7888FE
secondary
#F7F3D4
accent
#CA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7888FE

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

Preview Lab → · Contrast checker → · Palette generator →

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