#7987F1#7987F1

#7987F1 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.1% C 0.157 H 275.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7987F1
RGBrgb(121, 135, 241)
HSLhsl(233, 81%, 71%)
HSVhsv(233, 50%, 95%)
CMYKcmyk(49.8%, 44%, 0%, 5.5%)
CIE-LABlab(59.65, 23.26, -55.04)
CIE-LCHlch(59.65, 59.75, 292.91°)
OKLaboklab(66.1% 0.0153 -0.1563)
OKLCHoklch(66.1% 0.157 275.6)
XYZxyz(32.4213, 27.7418, 86.8483)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987F1 #F1E379
analogous
#79C3F1 #7987F1 #A779F1
triadic
#7987F1 #F17987 #87F179
tetradic
#7987F1 #F179C3 #F1E379 #79F1A7
square
#7987F1 #F179C3 #F1E379 #79F1A7
split-complementary
#7987F1 #F1A779 #C3F179
monochromatic
#172DD9 #4255EB #7987F1 #B0B9F7 #E3E6FC

Accessibility & contrast

On white

3.21
#7987F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7987F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987F1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987F1#FFFFFF#000000##000000
##7987F11.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F5
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#489EB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7987f1;
/* rgb */ color: rgb(121, 135, 241);
/* oklch */ color: oklch(66.1% 0.157 275.6);
Tailwind
colors: {
  custom: {
    50: '#a6a9f6',
    500: '#7987f1',
    950: '#000000',
  },
}
SCSS
$custom: #7987f1;
$custom-light: #a6a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7987f1",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 233,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66099,
    "c": 0.15701,
    "h": 275.6
  },
  "luminance": 0.27744
}

Semantic roles & 50–950 ramp

primary
#7987F1
secondary
#F3EFD3
accent
#C508DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987F1

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

Preview Lab → · Contrast checker → · Palette generator →

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