#7987F3#7987F3

#7987F3 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.2% C 0.160 H 275.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7987F3
RGBrgb(121, 135, 243)
HSLhsl(233, 84%, 71%)
HSVhsv(233, 50%, 95%)
CMYKcmyk(50.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(59.76, 23.86, -55.97)
CIE-LCHlch(59.76, 60.85, 293.09°)
OKLaboklab(66.22% 0.0155 -0.159)
OKLCHoklch(66.22% 0.16 275.6)
XYZxyz(32.7217, 27.8620, 88.4303)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987F3 #F3E579
analogous
#79C4F3 #7987F3 #A879F3
triadic
#7987F3 #F37987 #87F379
tetradic
#7987F3 #F379C4 #F3E579 #79F3A8
square
#7987F3 #F379C4 #F3E579 #79F3A8
split-complementary
#7987F3 #F3A879 #C4F379
monochromatic
#142BDE #4155EE #7987F3 #B1B9F8 #E3E6FC

Accessibility & contrast

On white

3.19
#7987F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7987F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987F3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987F3#FFFFFF#000000##000000
##7987F31.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F7
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#469EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7987f3;
/* rgb */ color: rgb(121, 135, 243);
/* oklch */ color: oklch(66.2% 0.160 275.6);
Tailwind
colors: {
  custom: {
    50: '#a7a9f7',
    500: '#7987f3',
    950: '#000000',
  },
}
SCSS
$custom: #7987f3;
$custom-light: #a7a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7987f3",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 233.115,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66218,
    "c": 0.15976,
    "h": 275.6
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

primary
#7987F3
secondary
#F4F0D4
accent
#C706E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987F3

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

Preview Lab → · Contrast checker → · Palette generator →

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