#7988F7#7988F7

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

Color values

HEX#7988F7
RGBrgb(121, 136, 247)
HSLhsl(233, 89%, 72%)
HSVhsv(233, 51%, 97%)
CMYKcmyk(51%, 44.9%, 0%, 3.1%)
CIE-LABlab(60.24, 24.49, -57.42)
CIE-LCHlch(60.24, 62.43, 293.09°)
OKLaboklab(66.65% 0.015 -0.1633)
OKLCHoklch(66.65% 0.164 275.2)
XYZxyz(33.4725, 28.3866, 91.6930)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988F7 #F7E879
analogous
#79C7F7 #7988F7 #A979F7
triadic
#7988F7 #F77988 #88F779
tetradic
#7988F7 #F779C7 #F7E879 #79F7A9
square
#7988F7 #F779C7 #F7E879 #79F7A9
split-complementary
#7988F7 #F7A979 #C7F779
monochromatic
#0E28E8 #3F55F4 #7988F7 #B3BBFA #E2E5FD

Accessibility & contrast

On white

3.14
#7988F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7988F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988F7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988F7#FFFFFF#000000##000000
##7988F71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#42A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7988f7;
/* rgb */ color: rgb(121, 136, 247);
/* oklch */ color: oklch(66.6% 0.164 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7aafa',
    500: '#7988f7',
    950: '#000000',
  },
}
SCSS
$custom: #7988f7;
$custom-light: #a7aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#7988f7",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 232.857,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66649,
    "c": 0.16395,
    "h": 275.2
  },
  "luminance": 0.28389
}

Semantic roles & 50–950 ramp

primary
#7988F7
secondary
#F5F2D6
accent
#CA00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7988F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7988F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva