#7987F7#7987F7

#7987F7 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.165 H 275.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7987F7
RGBrgb(121, 135, 247)
HSLhsl(233, 89%, 72%)
HSVhsv(233, 51%, 97%)
CMYKcmyk(51%, 45.3%, 0%, 3.1%)
CIE-LABlab(59.98, 25.08, -57.83)
CIE-LCHlch(59.98, 63.03, 293.44°)
OKLaboklab(66.46% 0.0161 -0.1644)
OKLCHoklch(66.46% 0.165 275.6)
XYZxyz(33.3323, 28.1062, 91.6463)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987F7 #F7E979
analogous
#79C6F7 #7987F7 #AA79F7
triadic
#7987F7 #F77987 #87F779
tetradic
#7987F7 #F779C6 #F7E979 #79F7AA
square
#7987F7 #F779C6 #F7E979 #79F7AA
split-complementary
#7987F7 #F7AA79 #C6F779
monochromatic
#0E26E8 #3F53F4 #7987F7 #B3BBFA #E2E5FD

Accessibility & contrast

On white

3.17
#7987F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7987F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987F7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987F7#FFFFFF#000000##000000
##7987F71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#429FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7987f7;
/* rgb */ color: rgb(121, 135, 247);
/* oklch */ color: oklch(66.5% 0.165 275.6);
Tailwind
colors: {
  custom: {
    50: '#a7a9fa',
    500: '#7987f7',
    950: '#000000',
  },
}
SCSS
$custom: #7987f7;
$custom-light: #a7a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7987f7",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 233.333,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.16523,
    "h": 275.6
  },
  "luminance": 0.28108
}

Semantic roles & 50–950 ramp

primary
#7987F7
secondary
#F5F2D6
accent
#CC00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987F7

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

Preview Lab → · Contrast checker → · Palette generator →

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