#7987F9#7987F9

#7987F9 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.6% C 0.168 H 275.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7987F9
RGBrgb(121, 135, 249)
HSLhsl(233, 91%, 73%)
HSVhsv(233, 51%, 98%)
CMYKcmyk(51.4%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.10, 25.69, -58.75)
CIE-LCHlch(60.10, 64.12, 293.62°)
OKLaboklab(66.58% 0.0164 -0.1671)
OKLCHoklch(66.58% 0.168 275.6)
XYZxyz(33.6426, 28.2303, 93.2804)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987F9 #F9EB79
analogous
#79C7F9 #7987F9 #AB79F9
triadic
#7987F9 #F97987 #87F979
tetradic
#7987F9 #F979C7 #F9EB79 #79F9AB
square
#7987F9 #F979C7 #F9EB79 #79F9AB
split-complementary
#7987F9 #F9AB79 #C7F979
monochromatic
#0B23ED #3E53F6 #7987F9 #B4BBFC #E2E5FE

Accessibility & contrast

On white

3.16
#7987F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7987F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987F9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987F9#FFFFFF#000000##000000
##7987F91.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#41A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7987f9;
/* rgb */ color: rgb(121, 135, 249);
/* oklch */ color: oklch(66.6% 0.168 275.6);
Tailwind
colors: {
  custom: {
    50: '#a7a9fc',
    500: '#7987f9',
    950: '#000000',
  },
}
SCSS
$custom: #7987f9;
$custom-light: #a7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7987f9",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 233.438,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.16795,
    "h": 275.6
  },
  "luminance": 0.28232
}

Semantic roles & 50–950 ramp

primary
#7987F9
secondary
#F6F2D5
accent
#CC00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987F9

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

Preview Lab → · Contrast checker → · Palette generator →

#7987F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva